QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## Resource Profile: QICoreSpecimen - TTL Profile

TTL representation of the qicore-specimen resource profile.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "qicore-specimen"];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen\">Specimen</a><a name=\"Specimen\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/specimen.html\">Specimen</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Sample for analysis</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.type\">type</a><a name=\"Specimen.type\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Kind of material that forms the specimen</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.subject\">subject</a><a name=\"Specimen.subject\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-qicore-patient.html\">QICorePatient</a> | <a href=\"StructureDefinition-qicore-device.html\">QICoreDevice</a> | <a href=\"StructureDefinition-qicore-substance.html\">QICoreSubstance</a> | <a href=\"http://hl7.org/fhir/R4/group.html\">Group</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.receivedTime\">receivedTime</a><a name=\"Specimen.receivedTime\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The time when specimen was received for processing</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.parent\">parent</a><a name=\"Specimen.parent\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-qicore-specimen.html\">QICoreSpecimen</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Specimen from which this specimen originated</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.collection\">collection</a><a name=\"Specimen.collection\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Collection details</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.collection.collector\">collector</a><a name=\"Specimen.collection.collector\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-qicore-practitioner.html\">QICorePractitioner</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Who collected the specimen</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.collection.collected[x]\">collected[x]</a><a name=\"Specimen.collection.collected_x_\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Collection time</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.collection.bodySite\">bodySite</a><a name=\"Specimen.collection.bodySite\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Anatomical collection site</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.processing\">processing</a><a name=\"Specimen.processing\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Processing and processing step details</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.processing.procedure\">procedure</a><a name=\"Specimen.processing.procedure\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Indicates the treatment step  applied to the specimen</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.processing.additive\">additive</a><a name=\"Specimen.processing.additive\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-qicore-substance.html\">QICoreSubstance</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Material used in the processing step</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.container\">container</a><a name=\"Specimen.container\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Direct container of specimen (tube/slide, etc.)</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck014.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.container.extension:container-sequenceNumber\" title=\"Extension URL = http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber\">specimen-sequenceNumber</a><a name=\"Specimen.container.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The sequence number of the sample</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/R4/extension-specimen-sequencenumber.html\">http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber</a></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck001.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_choice.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Choice of Types\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-specimen-definitions.html#Specimen.container.additive[x]\">additive[x]</a><a name=\"Specimen.container.additive_x_\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Additive associated with container</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span title=\"Base StructureDefinition for CodeableConcept Type: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.\">additiveCodeableConcept</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> additiveReference</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html#Reference\">Reference</a>(<a href=\"StructureDefinition-qicore-substance.html\">QICoreSubstance</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      ];
      fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-specimen"];
      fhir:StructureDefinition.version [ fhir:value "4.1.0"];
      fhir:StructureDefinition.name [ fhir:value "QICoreSpecimen"];
      fhir:StructureDefinition.status [ fhir:value "draft"];
      fhir:StructureDefinition.experimental [ fhir:value "false"^^xsd:boolean];
      fhir:StructureDefinition.date [ fhir:value "2018-08-22"^^xsd:date];
      fhir:StructureDefinition.publisher [ fhir:value "http://www.hl7.org/Special/committees/cqi/index.cfm"];
      fhir:StructureDefinition.contact [
         fhir:index 0;
         fhir:ContactDetail.name [ fhir:value "Clinical Quality Information WG" ];
         fhir:ContactDetail.telecom [
           fhir:index 0;
           fhir:ContactPoint.system [ fhir:value "url" ];
           fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/cqi" ]     ]
      ];
      fhir:StructureDefinition.description [ fhir:value "Profile of Specimen for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors."];
      fhir:StructureDefinition.jurisdiction [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
           fhir:Coding.code [ fhir:value "US" ]     ]
      ];
      fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"];
      fhir:StructureDefinition.mapping [
         fhir:index 0;
         fhir:StructureDefinition.mapping.identity [ fhir:value "qidam" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/qidam" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "Mapping to Quality Improvement Domain Analysis Model" ]
      ], [
         fhir:index 1;
         fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
      ], [
         fhir:index 2;
         fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ]
      ], [
         fhir:index 3;
         fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ]
      ];
      fhir:StructureDefinition.kind [ fhir:value "resource"];
      fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
      fhir:StructureDefinition.type [ fhir:value "Specimen"];
      fhir:StructureDefinition.baseDefinition [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Specimen";
         fhir:link <http://hl7.org/fhir/StructureDefinition/Specimen>
      ];
      fhir:StructureDefinition.derivation [ fhir:value "constraint"];
      fhir:StructureDefinition.snapshot [
         fhir:StructureDefinition.snapshot.element [
           fhir:index 0;
           fhir:Element.id [ fhir:value "Specimen" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen" ];
           fhir:ElementDefinition.short [ fhir:value "Sample for analysis" ];
           fhir:ElementDefinition.definition [ fhir:value "A sample to be used for analysis." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "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" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ];
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ], [
               fhir:index 1;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ];
               fhir:Extension.valueMarkdown [ fhir:value "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ]         ];
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Role[classCode=SPEC]" ]       ]     ], [
           fhir:index 1;
           fhir:Element.id [ fhir:value "Specimen.id" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.id" ];
           fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ];
           fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ];
           fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 2;
           fhir:Element.id [ fhir:value "Specimen.meta" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.meta" ];
           fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Meta" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 3;
           fhir:Element.id [ fhir:value "Specimen.implicitRules" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.implicitRules" ];
           fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "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" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 4;
           fhir:Element.id [ fhir:value "Specimen.language" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.language" ];
           fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ];
           fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ];
           fhir:ElementDefinition.comment [ fhir:value "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)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org/fhir/ValueSet/all-languages";
                 fhir:link <http://hl7.org/fhir/ValueSet/all-languages>           ]         ], [
               fhir:index 1;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "Language" ]         ], [
               fhir:index 2;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
             fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/languages";
               fhir:link <http://hl7.org/fhir/ValueSet/languages>         ]       ]     ], [
           fhir:index 5;
           fhir:Element.id [ fhir:value "Specimen.text" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.text" ];
           fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.comment [ fhir:value "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 information is added later." ];
           fhir:ElementDefinition.alias [
             fhir:value "narrative";
             fhir:index 0       ], [
             fhir:value "html";
             fhir:index 1       ], [
             fhir:value "xhtml";
             fhir:index 2       ], [
             fhir:value "display";
             fhir:index 3       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Narrative" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ]       ]     ], [
           fhir:index 6;
           fhir:Element.id [ fhir:value "Specimen.contained" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.contained" ];
           fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.comment [ fhir:value "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. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ];
           fhir:ElementDefinition.alias [
             fhir:value "inline resources";
             fhir:index 0       ], [
             fhir:value "anonymous resources";
             fhir:index 1       ], [
             fhir:value "contained resources";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 7;
           fhir:Element.id [ fhir:value "Specimen.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 8;
           fhir:Element.id [ fhir:value "Specimen.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
           fhir:ElementDefinition.definition [ fhir:value "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 and/or the understanding of the containing element's descendants. 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 9;
           fhir:Element.id [ fhir:value "Specimen.identifier" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.identifier" ];
           fhir:ElementDefinition.short [ fhir:value "External Identifier" ];
           fhir:ElementDefinition.definition [ fhir:value "Id for specimen." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.identifier" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-2" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]       ]     ], [
           fhir:index 10;
           fhir:Element.id [ fhir:value "Specimen.accessionIdentifier" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.accessionIdentifier" ];
           fhir:ElementDefinition.short [ fhir:value "Identifier assigned by the lab" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.accessionIdentifier" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-30 (v2.7+)" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ].act[classCode=ACSN, moodCode=EVN].id" ]       ]     ], [
           fhir:index 11;
           fhir:Element.id [ fhir:value "Specimen.status" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.status" ];
           fhir:ElementDefinition.short [ fhir:value "available | unavailable | unsatisfactory | entered-in-error" ];
           fhir:ElementDefinition.definition [ fhir:value "The availability of the specimen." ];
           fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.status" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SpecimenStatus" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Codes providing the status/availability of a specimen." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/specimen-status|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/specimen-status|4.0.1>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-20" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "status" ]       ]     ], [
           fhir:index 12;
           fhir:Element.id [ fhir:value "Specimen.type" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.type" ];
           fhir:ElementDefinition.short [ fhir:value "Kind of material that forms the specimen" ];
           fhir:ElementDefinition.definition [ fhir:value "The kind of material that forms the specimen." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.type" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SpecimenType" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
             fhir:ElementDefinition.binding.description [ fhir:value "The type of the specimen." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://terminology.hl7.org/ValueSet/v2-0487";
               fhir:link <http://terminology.hl7.org/ValueSet/v2-0487>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.what[x]" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-4 and possibly SPM-5" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".code" ]       ]     ], [
           fhir:index 13;
           fhir:Element.id [ fhir:value "Specimen.subject" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.subject" ];
           fhir:ElementDefinition.short [ fhir:value "Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device" ];
           fhir:ElementDefinition.definition [ fhir:value "Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device." ];
           fhir:ElementDefinition.requirements [ fhir:value "Must know the subject context." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.subject" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>         ], [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device";
               fhir:index 1;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device>         ], [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance";
               fhir:index 2;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance>         ], [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Group";
               fhir:index 3;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Group>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject[x]" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".scoper  or  .scoper.playsRole" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject" ]       ]     ], [
           fhir:index 14;
           fhir:Element.id [ fhir:value "Specimen.receivedTime" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.receivedTime" ];
           fhir:ElementDefinition.short [ fhir:value "The time when specimen was received for processing" ];
           fhir:ElementDefinition.definition [ fhir:value "Time when specimen was received for processing or testing." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.receivedTime" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.done[x]" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-18" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ].act[code=SPCREC, moodCode=EVN].effectiveTime" ]       ]     ], [
           fhir:index 15;
           fhir:Element.id [ fhir:value "Specimen.parent" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.parent" ];
           fhir:ElementDefinition.short [ fhir:value "Specimen from which this specimen originated" ];
           fhir:ElementDefinition.definition [ fhir:value "Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.parent" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-specimen";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-specimen>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".scoper (if parent) .player.scopesRole[classCode=SPEC].player (if child)" ]       ]     ], [
           fhir:index 16;
           fhir:Element.id [ fhir:value "Specimen.request" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.request" ];
           fhir:ElementDefinition.short [ fhir:value "Why the specimen was collected" ];
           fhir:ElementDefinition.definition [ fhir:value "Details concerning a service request that required a specimen to be collected." ];
           fhir:ElementDefinition.comment [ fhir:value "The request may be explicit or implied such with a ServiceRequest that requires a blood draw." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.request" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.why[x]" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "ORC? OBR-2/3?" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=FLFS].target" ]       ]     ], [
           fhir:index 17;
           fhir:Element.id [ fhir:value "Specimen.collection" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection" ];
           fhir:ElementDefinition.short [ fhir:value "Collection details" ];
           fhir:ElementDefinition.definition [ fhir:value "Details concerning the specimen collection." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.collection" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-14" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ].act[classCode=SPECCOLLECT, moodCode=EVN]" ]       ]     ], [
           fhir:index 18;
           fhir:Element.id [ fhir:value "Specimen.collection.id" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 19;
           fhir:Element.id [ fhir:value "Specimen.collection.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 20;
           fhir:Element.id [ fhir:value "Specimen.collection.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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 and/or the understanding of the containing element's descendants. 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 21;
           fhir:Element.id [ fhir:value "Specimen.collection.collector" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.collector" ];
           fhir:ElementDefinition.short [ fhir:value "Who collected the specimen" ];
           fhir:ElementDefinition.definition [ fhir:value "Person who collected the specimen." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.collection.collector" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.actor" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "PRT" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PFM].role" ]       ]     ], [
           fhir:index 22;
           fhir:Element.id [ fhir:value "Specimen.collection.collected[x]" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.collected[x]" ];
           fhir:ElementDefinition.short [ fhir:value "Collection time" ];
           fhir:ElementDefinition.definition [ fhir:value "Time when specimen was collected from subject - the physiologically relevant time." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.collection.collected[x]" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.init" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-17" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]       ]     ], [
           fhir:index 23;
           fhir:Element.id [ fhir:value "Specimen.collection.duration" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.duration" ];
           fhir:ElementDefinition.short [ fhir:value "How long it took to collect specimen" ];
           fhir:ElementDefinition.definition [ fhir:value "The span of time over which the collection of a specimen occurred." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.collection.duration" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Duration" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.init" ]       ]     ], [
           fhir:index 24;
           fhir:Element.id [ fhir:value "Specimen.collection.quantity" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.quantity" ];
           fhir:ElementDefinition.short [ fhir:value "The quantity of specimen collected" ];
           fhir:ElementDefinition.definition [ fhir:value "The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.collection.quantity" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-12" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ].role[classCode=SPEC].player.quantity" ]       ]     ], [
           fhir:index 25;
           fhir:Element.id [ fhir:value "Specimen.collection.method" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.method" ];
           fhir:ElementDefinition.short [ fhir:value "Technique used to perform collection" ];
           fhir:ElementDefinition.definition [ fhir:value "A coded value specifying the technique that is used to perform the procedure." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.collection.method" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SpecimenCollectionMethod" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
             fhir:ElementDefinition.binding.description [ fhir:value "The  technique that is used to perform the procedure." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/specimen-collection-method";
               fhir:link <http://hl7.org/fhir/ValueSet/specimen-collection-method>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-7" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".methodCode" ]       ]     ], [
           fhir:index 26;
           fhir:Element.id [ fhir:value "Specimen.collection.bodySite" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.bodySite" ];
           fhir:ElementDefinition.short [ fhir:value "Anatomical collection site" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.comment [ fhir:value "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 [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.collection.bodySite" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "BodySite" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Codes describing anatomical locations. May include laterality." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/body-site";
               fhir:link <http://hl7.org/fhir/ValueSet/body-site>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-8 and SPM-9" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".targetSiteCode" ]       ]     ], [
           fhir:index 27;
           fhir:Element.id [ fhir:value "Specimen.collection.fastingStatus[x]" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.fastingStatus[x]" ];
           fhir:ElementDefinition.short [ fhir:value "Whether or how long patient abstained from food and/or drink" ];
           fhir:ElementDefinition.definition [ fhir:value "Abstinence or reduction from some or all food, drink, or both, for a period of time prior to sample collection." ];
           fhir:ElementDefinition.comment [ fhir:value "Representing fasting status using this element is preferred to representing it with an observation using a 'pre-coordinated code'  such as  LOINC 2005-7 (Calcium [Moles/​time] in 2 hour Urine --12 hours fasting), or  using  a component observation ` such as `Observation.component code`  = LOINC 49541-6 (Fasting status - Reported)." ];
           fhir:ElementDefinition.requirements [ fhir:value "Many diagnostic tests require fasting  to facilitate accurate interpretation." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.collection.fastingStatus[x]" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.type.code [ fhir:value "Duration" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "FastingStatus" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Codes describing the fasting status of the patient." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://terminology.hl7.org/ValueSet/v2-0916";
               fhir:link <http://terminology.hl7.org/ValueSet/v2-0916>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "OBR-" ]       ]     ], [
           fhir:index 28;
           fhir:Element.id [ fhir:value "Specimen.processing" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing" ];
           fhir:ElementDefinition.short [ fhir:value "Processing and processing step details" ];
           fhir:ElementDefinition.definition [ fhir:value "Details concerning processing and processing steps for the specimen." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.processing" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ].act[code=SPCTRT, moodCode=EVN]" ]       ]     ], [
           fhir:index 29;
           fhir:Element.id [ fhir:value "Specimen.processing.id" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 30;
           fhir:Element.id [ fhir:value "Specimen.processing.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 31;
           fhir:Element.id [ fhir:value "Specimen.processing.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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 and/or the understanding of the containing element's descendants. 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 32;
           fhir:Element.id [ fhir:value "Specimen.processing.description" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing.description" ];
           fhir:ElementDefinition.short [ fhir:value "Textual description of procedure" ];
           fhir:ElementDefinition.definition [ fhir:value "Textual description of procedure." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.processing.description" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".text" ]       ]     ], [
           fhir:index 33;
           fhir:Element.id [ fhir:value "Specimen.processing.procedure" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing.procedure" ];
           fhir:ElementDefinition.short [ fhir:value "Indicates the treatment step  applied to the specimen" ];
           fhir:ElementDefinition.definition [ fhir:value "A coded value specifying the procedure used to process the specimen." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.processing.procedure" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SpecimenProcessingProcedure" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Type indicating the technique used to process the specimen." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/specimen-processing-procedure";
               fhir:link <http://hl7.org/fhir/ValueSet/specimen-processing-procedure>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".code" ]       ]     ], [
           fhir:index 34;
           fhir:Element.id [ fhir:value "Specimen.processing.additive" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing.additive" ];
           fhir:ElementDefinition.short [ fhir:value "Material used in the processing step" ];
           fhir:ElementDefinition.definition [ fhir:value "Material used in the processing step." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.processing.additive" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-6" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=CSM].role[classCode=ADTV].code" ]       ]     ], [
           fhir:index 35;
           fhir:Element.id [ fhir:value "Specimen.processing.time[x]" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing.time[x]" ];
           fhir:ElementDefinition.short [ fhir:value "Date and time of specimen processing" ];
           fhir:ElementDefinition.definition [ fhir:value "A record of the time or period when the specimen processing occurred.  For example the time of sample fixation or the period of time the sample was in formalin." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.processing.time[x]" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]       ]     ], [
           fhir:index 36;
           fhir:Element.id [ fhir:value "Specimen.container" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container" ];
           fhir:ElementDefinition.short [ fhir:value "Direct container of specimen (tube/slide, etc.)" ];
           fhir:ElementDefinition.definition [ fhir:value "The container holding the specimen.  The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.container" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".player.scopingRole[classCode=CONT].scoper" ]       ]     ], [
           fhir:index 37;
           fhir:Element.id [ fhir:value "Specimen.container.id" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 38;
           fhir:Element.id [ fhir:value "Specimen.container.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.extension" ];
           fhir:ElementDefinition.slicing [
             fhir:ElementDefinition.slicing.discriminator [
               fhir:index 0;
               fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
               fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ]         ];
             fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ];
             fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
           fhir:ElementDefinition.short [ fhir:value "Extension" ];
           fhir:ElementDefinition.definition [ fhir:value "An Extension" ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 39;
           fhir:Element.id [ fhir:value "Specimen.container.extension:container-sequenceNumber" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.extension" ];
           fhir:ElementDefinition.sliceName [ fhir:value "container-sequenceNumber" ];
           fhir:ElementDefinition.short [ fhir:value "The sequence number of the sample" ];
           fhir:ElementDefinition.definition [ fhir:value "An assigned number on the specimen denoting the order of collection." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber>         ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "ele-1";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "qidam" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "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.)." ]       ]     ], [
           fhir:index 40;
           fhir:Element.id [ fhir:value "Specimen.container.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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 and/or the understanding of the containing element's descendants. 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 41;
           fhir:Element.id [ fhir:value "Specimen.container.identifier" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.identifier" ];
           fhir:ElementDefinition.short [ fhir:value "Id for the container" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.container.identifier" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SAC-3" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]       ]     ], [
           fhir:index 42;
           fhir:Element.id [ fhir:value "Specimen.container.description" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.description" ];
           fhir:ElementDefinition.short [ fhir:value "Textual description of the container" ];
           fhir:ElementDefinition.definition [ fhir:value "Textual description of the container." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.container.description" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".desc" ]       ]     ], [
           fhir:index 43;
           fhir:Element.id [ fhir:value "Specimen.container.type" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.type" ];
           fhir:ElementDefinition.short [ fhir:value "Kind of container directly associated with specimen" ];
           fhir:ElementDefinition.definition [ fhir:value "The type of container associated with the specimen (e.g. slide, aliquot, etc.)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.container.type" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SpecimenContainerType" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Type of specimen container." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/specimen-container-type";
               fhir:link <http://hl7.org/fhir/ValueSet/specimen-container-type>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-27" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".code" ]       ]     ], [
           fhir:index 44;
           fhir:Element.id [ fhir:value "Specimen.container.capacity" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.capacity" ];
           fhir:ElementDefinition.short [ fhir:value "Container volume or size" ];
           fhir:ElementDefinition.definition [ fhir:value "The capacity (volume or other measure) the container may contain." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.container.capacity" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "one of: SAC 16, SAC17 and SAC 20, or SAC 21 and SAC 20" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".quantity" ]       ]     ], [
           fhir:index 45;
           fhir:Element.id [ fhir:value "Specimen.container.specimenQuantity" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.specimenQuantity" ];
           fhir:ElementDefinition.short [ fhir:value "Quantity of specimen within container" ];
           fhir:ElementDefinition.definition [ fhir:value "The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.container.specimenQuantity" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SAC-23 (value) SAC-24 (units" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".playedRole[classCode=CONT].quantity" ]       ]     ], [
           fhir:index 46;
           fhir:Element.id [ fhir:value "Specimen.container.additive[x]" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.additive[x]" ];
           fhir:ElementDefinition.short [ fhir:value "Additive associated with container" ];
           fhir:ElementDefinition.definition [ fhir:value "Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.container.additive[x]" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SpecimenContainerAdditive" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Substance added to specimen container." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://terminology.hl7.org/ValueSet/v2-0371";
               fhir:link <http://terminology.hl7.org/ValueSet/v2-0371>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SAC-27" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".scopesRole[classCode=ADTV].player" ]       ]     ], [
           fhir:index 47;
           fhir:Element.id [ fhir:value "Specimen.condition" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.condition" ];
           fhir:ElementDefinition.short [ fhir:value "State of the specimen" ];
           fhir:ElementDefinition.definition [ fhir:value "A mode or state of being that describes the nature of the specimen." ];
           fhir:ElementDefinition.comment [ fhir:value "Specimen condition is an observation made about the specimen.  It's a point-in-time assessment.  It can be used to assess its quality or appropriateness for a specific test." ];
           fhir:ElementDefinition.requirements [ fhir:value "The specimen condition can be used to assess its quality or appropriateness for a specific test." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.condition" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SpecimenCondition" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Codes describing the state of the specimen." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://terminology.hl7.org/ValueSet/v2-0493";
               fhir:link <http://terminology.hl7.org/ValueSet/v2-0493>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "SPM-24" ]       ]     ], [
           fhir:index 48;
           fhir:Element.id [ fhir:value "Specimen.note" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.note" ];
           fhir:ElementDefinition.short [ fhir:value "Comments" ];
           fhir:ElementDefinition.definition [ fhir:value "To communicate any details or issues about the specimen or during the specimen collection. (for example: broken vial, sent with patient, frozen)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Specimen.note" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Annotation" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "OBX" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" ]       ]     ]
      ];
      fhir:StructureDefinition.differential [
         fhir:StructureDefinition.differential.element [
           fhir:index 0;
           fhir:Element.id [ fhir:value "Specimen" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 1;
           fhir:Element.id [ fhir:value "Specimen.type" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.type" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 2;
           fhir:Element.id [ fhir:value "Specimen.subject" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.subject" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>         ], [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device";
               fhir:index 1;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device>         ], [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance";
               fhir:index 2;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance>         ], [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Group";
               fhir:index 3;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Group>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 3;
           fhir:Element.id [ fhir:value "Specimen.receivedTime" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.receivedTime" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 4;
           fhir:Element.id [ fhir:value "Specimen.parent" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.parent" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-specimen";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-specimen>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 5;
           fhir:Element.id [ fhir:value "Specimen.collection" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 6;
           fhir:Element.id [ fhir:value "Specimen.collection.collector" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.collector" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 7;
           fhir:Element.id [ fhir:value "Specimen.collection.collected[x]" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.collected[x]" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 8;
           fhir:Element.id [ fhir:value "Specimen.collection.bodySite" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.collection.bodySite" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 9;
           fhir:Element.id [ fhir:value "Specimen.processing" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 10;
           fhir:Element.id [ fhir:value "Specimen.processing.procedure" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing.procedure" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 11;
           fhir:Element.id [ fhir:value "Specimen.processing.additive" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.processing.additive" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 12;
           fhir:Element.id [ fhir:value "Specimen.container" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 13;
           fhir:Element.id [ fhir:value "Specimen.container.extension:container-sequenceNumber" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.extension" ];
           fhir:ElementDefinition.sliceName [ fhir:value "container-sequenceNumber" ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "qidam" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "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.)." ]       ]     ], [
           fhir:index 14;
           fhir:Element.id [ fhir:value "Specimen.container.additive[x]" ];
           fhir:ElementDefinition.path [ fhir:value "Specimen.container.additive[x]" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ]
      ].

    # - ontology header ------------------------------------------------------------

     a owl:Ontology;
      owl:imports fhir:fhir.ttl.