{
  "resourceType": "StructureDefinition",
  "id": "ProfileServiceRequestLaboranforderung",
  "url": "https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ServiceRequestLab",
  "version": "1.0",
  "name": "ProfileServiceRequestLaboranforderung",
  "title": "Profile - ServiceRequest - Laboranforderung",
  "status": "active",
  "experimental": false,
  "publisher": "https://www.Medizininformatik-Initiative.de",
  "description": "Dieses Profil beschreibt eine Laboranforderung in der Medizininformatik-Initiative.",
  "purpose": "Dieses Profil beschreibt eine Laboranforderung in der Medizininformatik-Initiative.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "ServiceRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ServiceRequest.id",
        "path": "ServiceRequest.id",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.meta",
        "path": "ServiceRequest.meta",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.meta.source",
        "path": "ServiceRequest.meta.source",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.meta.profile",
        "path": "ServiceRequest.meta.profile",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier",
        "path": "ServiceRequest.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "type"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier:anforderung",
        "path": "ServiceRequest.identifier",
        "sliceName": "anforderung",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier:anforderung.type",
        "path": "ServiceRequest.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "PLAC"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier:anforderung.type.coding",
        "path": "ServiceRequest.identifier.type.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier:anforderung.type.coding:placerv2",
        "path": "ServiceRequest.identifier.type.coding",
        "sliceName": "placerv2",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier:anforderung.type.coding:placerv2.system",
        "path": "ServiceRequest.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier:anforderung.type.coding:placerv2.code",
        "path": "ServiceRequest.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "PLAC",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier:anforderung.system",
        "path": "ServiceRequest.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier:anforderung.value",
        "path": "ServiceRequest.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier:anforderung.assigner",
        "path": "ServiceRequest.identifier.assigner",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://www.medizininformatik-initiative.de/fhir/core/StructureDefinition/MII-Reference"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.status",
        "path": "ServiceRequest.status",
        "fixedCode": "completed",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.intent",
        "path": "ServiceRequest.intent",
        "fixedCode": "order",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.category",
        "path": "ServiceRequest.category",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.category.coding",
        "path": "ServiceRequest.category.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.category.coding:laboratory",
        "path": "ServiceRequest.category.coding",
        "sliceName": "laboratory",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory"
        },
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.code",
        "path": "ServiceRequest.code",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "example",
          "valueSet": "https://www.medizininformatik-initiative.de/fhir/core/modul-labor/ValueSet/ValueSetOrderCodes"
        }
      },
      {
        "id": "ServiceRequest.subject",
        "path": "ServiceRequest.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://www.medizininformatik-initiative.de/fhir/core/StructureDefinition/MII-Reference"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.encounter",
        "path": "ServiceRequest.encounter",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.authoredOn",
        "path": "ServiceRequest.authoredOn",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.specimen",
        "path": "ServiceRequest.specimen",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.specimen.reference",
        "path": "ServiceRequest.specimen.reference",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.specimen.identifier",
        "path": "ServiceRequest.specimen.identifier",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.bodySite",
        "path": "ServiceRequest.bodySite",
        "max": "0"
      },
      {
        "id": "ServiceRequest.patientInstruction",
        "path": "ServiceRequest.patientInstruction",
        "max": "0"
      }
    ]
  }
}