{
  "resourceType": "StructureDefinition",
  "id": "shr-entity-Specimen",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR Specimen Profile</b></p>\n  <p>Sample for analysis</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.entity.Specimen maps to Specimen:\n  AccessionIdentifier maps to accessionIdentifier\n  Status maps to status\n  Type maps to type\n  Subject maps to subject\n  SourceSpecimen maps to parent\n  ReceivedTime maps to receivedTime\n  SpecimenCollectionPerformed.AmountOrSize maps to collection.quantity\n  SpecimenCollectionPerformed.BodySite maps to collection.bodySite\n  SpecimenCollectionPerformed.PerformedContext.OccurrenceTimeOrPeriod maps to collection.collected[x]\n  SpecimenCollectionPerformed.PerformedContext.Participant maps to collection.collector\n  SpecimenCollectionPerformed.PerformedContext.Method maps to collection.method\n  SpecimenCollectionPerformed.PerformedContext.RelatedRequest maps to request\n  SpecimenContainer.Identifier maps to container.identifier\n  SpecimenContainer.Details maps to container.description\n  SpecimenContainer.Type maps to container.type\n  SpecimenContainer.Capacity maps to container.capacity\n  SpecimenContainer.SpecimenQuantity maps to container.specimenQuantity\n  SpecimenContainer.Additive maps to container.additive[x]\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Specimen",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.entity.Specimen"
    }
  ],
  "version": "0.0.1",
  "name": "SHR Specimen Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "Sample for analysis",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Specimen",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Specimen",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Specimen:shr-entity-Specimen",
        "path": "Specimen",
        "short": "SHR Specimen Profile",
        "definition": "Sample for analysis"
      },
      {
        "id": "Specimen:shr-entity-Specimen.extension:relatedencounter",
        "path": "Specimen.extension",
        "sliceName": "relatedencounter",
        "definition": "If content was generated during a patient encounter, related encounter is the encounter where the information was gained.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.extension:author",
        "path": "Specimen.extension",
        "sliceName": "author",
        "definition": "The person or organization who created the entry and is responsible for (and may certify) the content.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.extension:informant",
        "path": "Specimen.extension",
        "sliceName": "informant",
        "definition": "The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.extension:specimentreatment",
        "path": "Specimen.extension",
        "sliceName": "specimentreatment",
        "definition": "Treatment performed on the specimen.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-SpecimenTreatment-extension"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.extension:handlingrisk",
        "path": "Specimen.extension",
        "sliceName": "handlingrisk",
        "definition": "Cautions on the handling of this specimen.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-HandlingRisk-extension"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.extension:specialhandling",
        "path": "Specimen.extension",
        "sliceName": "specialhandling",
        "definition": "Information about the proper handling of the specimen.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-SpecialHandling-extension"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.accessionIdentifier",
        "path": "Specimen.accessionIdentifier",
        "type": [
          {
            "code": "Identifier",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.type",
        "path": "Specimen.type",
        "min": 1,
        "max": "1",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SpecimenType"
            }
          ],
          "strength": "required",
          "description": "The type of the specimen.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v2-0487"
          }
        }
      },
      {
        "id": "Specimen:shr-entity-Specimen.subject",
        "path": "Specimen.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.parent",
        "path": "Specimen.parent",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Specimen"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.collection",
        "path": "Specimen.collection"
      },
      {
        "id": "Specimen:shr-entity-Specimen.collection.quantity",
        "path": "Specimen.collection.quantity",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-SimpleQuantity"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.collection.bodySite",
        "path": "Specimen.collection.bodySite",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://standardhealthrecord.org/shr/core/vs/BodySiteVS"
          }
        }
      },
      {
        "id": "Specimen:shr-entity-Specimen.container",
        "path": "Specimen.container"
      },
      {
        "id": "Specimen:shr-entity-Specimen.container.identifier",
        "path": "Specimen.container.identifier",
        "type": [
          {
            "code": "Identifier",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.container.capacity",
        "path": "Specimen.container.capacity",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-SimpleQuantity"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.container.specimenQuantity",
        "path": "Specimen.container.specimenQuantity",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
          }
        ]
      },
      {
        "id": "Specimen:shr-entity-Specimen.container.additive[x]",
        "path": "Specimen.container.additive[x]",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Substance"
          }
        ]
      }
    ]
  }
}