{
  "resourceType": "StructureDefinition",
  "id": "ie-core-specimen",
  "url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-specimen",
  "name": "IECoreSpecimen",
  "title": "IE Core Specimen",
  "status": "draft",
  "description": "The IE Core Specimen profile sets minimum expectations for the Specimen resource to record, search, and fetch specimens associated with a patient, based on Irish requirements.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Specimen",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Specimen",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Specimen.identifier",
        "path": "Specimen.identifier",
        "mustSupport": true
      },
      {
        "id": "Specimen.type",
        "path": "Specimen.type",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://hl7-ie.github.io/ie-core/fhir/ie/core/ValueSet/ie-core-specimen-type"
        }
      },
      {
        "id": "Specimen.subject",
        "path": "Specimen.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Specimen.collection",
        "path": "Specimen.collection",
        "mustSupport": true
      },
      {
        "id": "Specimen.condition",
        "path": "Specimen.condition",
        "mustSupport": true
      }
    ]
  }
}