{
  "resourceType": "StructureDefinition",
  "id": "be7fc245-49be-4613-943d-53857d137719",
  "meta": {
    "lastUpdated": "2017-09-20T11:48:54.869+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "oo"
    }
  ],
  "url": "http://helse-nord.no/FHIR/profiles/Clinical.Specimen/Specimen",
  "version": "1.0",
  "name": "Specimen",
  "title": "Specimen",
  "status": "active",
  "date": "2017-11-30",
  "publisher": "Helse Nord IKT",
  "description": "Specimen used with DiagnosticReport.LabObservation.",
  "purpose": "Helse Nord IKT profile for specimen, used with DiagnosticReport.",
  "fhirVersion": "3.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Specimen",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Specimen",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Specimen",
        "path": "Specimen",
        "short": "DIPS: represents a contained analyzed subject DIPSDiagnosticOrder",
        "comment": "<0>"
      },
      {
        "id": "Specimen.identifier",
        "path": "Specimen.identifier",
        "max": "0"
      },
      {
        "id": "Specimen.accessionIdentifier",
        "path": "Specimen.accessionIdentifier",
        "max": "0"
      },
      {
        "id": "Specimen.status",
        "path": "Specimen.status",
        "max": "0"
      },
      {
        "id": "Specimen.type",
        "path": "Specimen.type",
        "short": "DIPS: material specified on the analysis code",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SpecimenType"
            }
          ],
          "strength": "example",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/v2-0487"
        }
      },
      {
        "id": "Specimen.type.coding",
        "path": "Specimen.type.coding",
        "short": "DIPS: Code is currently always empty",
        "max": "1"
      },
      {
        "id": "Specimen.type.coding.system",
        "path": "Specimen.type.coding.system",
        "fixedUri": "http://dips.no/fhir/specimen/type-codes"
      },
      {
        "id": "Specimen.type.coding.version",
        "path": "Specimen.type.coding.version",
        "max": "0"
      },
      {
        "id": "Specimen.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Specimen.type.coding.display",
        "max": "0"
      },
      {
        "id": "Specimen.type.coding.userSelected",
        "path": "Specimen.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Specimen.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Specimen.type.text",
        "short": "DIPS: name of material"
      },
      {
        "id": "Specimen.subject",
        "path": "Specimen.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient",
            "aggregation": [
              "referenced",
              "bundled"
            ]
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance"
          }
        ]
      },
      {
        "id": "Specimen.subject.identifier",
        "path": "Specimen.subject.identifier",
        "max": "0"
      },
      {
        "id": "Specimen.receivedTime",
        "path": "Specimen.receivedTime",
        "max": "0"
      },
      {
        "id": "Specimen.parent",
        "path": "Specimen.parent",
        "max": "0"
      },
      {
        "id": "Specimen.request",
        "path": "Specimen.request",
        "max": "0"
      },
      {
        "id": "Specimen.collection",
        "path": "Specimen.collection",
        "short": "DIPS: angir hvor på pasienten prøve er tatt i bodySite"
      },
      {
        "id": "Specimen.collection.collector",
        "path": "Specimen.collection.collector",
        "max": "0"
      },
      {
        "id": "Specimen.collection.collected[x]",
        "path": "Specimen.collection.collected[x]",
        "max": "0"
      },
      {
        "id": "Specimen.collection.quantity:SimpleQuantity",
        "path": "Specimen.collection.quantity",
        "sliceName": "SimpleQuantity",
        "max": "0"
      },
      {
        "id": "Specimen.collection.method",
        "path": "Specimen.collection.method",
        "max": "0"
      },
      {
        "id": "Specimen.collection.bodySite",
        "path": "Specimen.collection.bodySite",
        "min": 1
      },
      {
        "id": "Specimen.collection.bodySite.coding",
        "path": "Specimen.collection.bodySite.coding",
        "max": "0"
      },
      {
        "id": "Specimen.collection.bodySite.coding.system",
        "path": "Specimen.collection.bodySite.coding.system",
        "fixedUri": "x.x.x.x"
      },
      {
        "id": "Specimen.collection.bodySite.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Specimen.collection.bodySite.text",
        "short": "DIPS: \"<AnatomicalOrigin>\" if specified, otherwise \"<Location>/<Position>\"",
        "min": 1
      },
      {
        "id": "Specimen.processing",
        "path": "Specimen.processing",
        "max": "0"
      },
      {
        "id": "Specimen.container",
        "path": "Specimen.container",
        "max": "0"
      },
      {
        "id": "Specimen.note",
        "path": "Specimen.note",
        "max": "0"
      }
    ]
  }
}