{
  "resourceType": "StructureDefinition",
  "id": "Specimen-uv-ips",
  "url": "http://hl7.org/fhir/uv/ips/StructureDefinition/Specimen-uv-ips",
  "name": "SpecimenUvIps",
  "title": "Specimen (IPS)",
  "status": "active",
  "publisher": "HL7 International",
  "description": "This profile constrains the Specimen resource to represent the characteristics of a biological specimens in the context of laboratory results integrated to a patient summary.",
  "purpose": "Minimal specimen attributes, usable for the laboratory results section and entry of a patient summary.",
  "kind": "resource",
  "abstract": false,
  "type": "Specimen",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Specimen",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Specimen",
        "path": "Specimen"
      },
      {
        "id": "Specimen.type",
        "path": "Specimen.type",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "binding": {
          "extension": [
            {
              "extension": [
                {
                  "url": "purpose",
                  "valueCode": "candidate"
                },
                {
                  "url": "valueSet",
                  "valueCanonical": "http://hl7.org/fhir/uv/ips/ValueSet/results-specimen-type-snomed-ct-ips-free-set"
                },
                {
                  "url": "documentation",
                  "valueMarkdown": "Additional conformance binding to a specimen type value set from the SNOMED CT IPS free set for use globally (in SNOMED member and non-member jurisdictions)."
                }
              ],
              "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SpecimenType"
            }
          ],
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-specimen-type-uv-ips"
        }
      },
      {
        "id": "Specimen.subject",
        "path": "Specimen.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Specimen.subject.reference",
        "path": "Specimen.subject.reference",
        "min": 1
      },
      {
        "id": "Specimen.collection",
        "path": "Specimen.collection"
      },
      {
        "id": "Specimen.collection.method",
        "path": "Specimen.collection.method",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/ValueSet/specimen-collection-method"
        }
      },
      {
        "id": "Specimen.collection.bodySite",
        "path": "Specimen.collection.bodySite",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/body-site-uv-ips"
        }
      },
      {
        "id": "Specimen.collection.fastingStatus[x]",
        "path": "Specimen.collection.fastingStatus[x]",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          },
          {
            "code": "Duration"
          }
        ]
      }
    ]
  }
}