{
  "resourceType": "StructureDefinition",
  "id": "8bb81f9d-80ce-48aa-97ae-7895ab63c2d9",
  "meta": {
    "lastUpdated": "2021-04-13T18:12:09.744+00:00"
  },
  "url": "https://fhir.cambio.se/StructureDefinition/ServiceRequestReferralCoreSwe/v1",
  "name": "ServiceRequestReferralCoreSwe",
  "status": "draft",
  "date": "2021-04-13T18:12:01.3101365+00:00",
  "description": "The ServiceRequestReferralCoreSwe profile is a core profile on a higher level for when using FHIR ServiceRequests in the referral area in a Swedish context. It is not an implementation profile but has derived profiles which are implemented in API:s.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "quick",
      "uri": "http://siframework.org/cqf",
      "name": "Quality Improvement and Clinical Knowledge (QUICK)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "ServiceRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "ServiceRequest.category.coding.system",
        "path": "ServiceRequest.category.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "ServiceRequest.category.coding.code",
        "path": "ServiceRequest.category.coding.code",
        "fixedCode": "3457005"
      },
      {
        "id": "ServiceRequest.doNotPerform",
        "path": "ServiceRequest.doNotPerform",
        "max": "0"
      },
      {
        "id": "ServiceRequest.quantity[x]",
        "path": "ServiceRequest.quantity[x]",
        "max": "0"
      },
      {
        "id": "ServiceRequest.subject",
        "path": "ServiceRequest.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.subject.type",
        "path": "ServiceRequest.subject.type",
        "fixedUri": "Patient"
      },
      {
        "id": "ServiceRequest.subject.identifier",
        "path": "ServiceRequest.subject.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "ServiceRequest.subject.identifier:personnummer",
        "path": "ServiceRequest.subject.identifier",
        "sliceName": "personnummer",
        "definition": "Swedish social security number published by Skatteverket (Personnummer)"
      },
      {
        "id": "ServiceRequest.subject.identifier:personnummer.system",
        "path": "ServiceRequest.subject.identifier.system",
        "definition": "Swedish social security number published by Skatteverket (Personnummer)",
        "min": 1,
        "fixedUri": "urn:oid:1.2.752.129.2.1.3.1"
      },
      {
        "id": "ServiceRequest.subject.identifier:personnummer.value",
        "path": "ServiceRequest.subject.identifier.value",
        "min": 1
      },
      {
        "id": "ServiceRequest.subject.identifier:samordningsnummer",
        "path": "ServiceRequest.subject.identifier",
        "sliceName": "samordningsnummer",
        "definition": "Swedish cordination number published by Skatteverket. (Samordningsnummer) is a temporary identity number for people who are not registered in the country but who have contact with the country's authorities. The number is similar to social security number."
      },
      {
        "id": "ServiceRequest.subject.identifier:samordningsnummer.system",
        "path": "ServiceRequest.subject.identifier.system",
        "definition": "Swedish cordination number published by Skatteverket. (Samordningsnummer) is a temporary identity number for people who are not registered in the country but who have contact with the country's authorities. The number is similar to social security number.",
        "min": 1,
        "fixedUri": "urn:oid:1.2.752.129.2.1.3.3"
      },
      {
        "id": "ServiceRequest.asNeeded[x]",
        "path": "ServiceRequest.asNeeded[x]",
        "max": "0"
      },
      {
        "id": "ServiceRequest.requester",
        "path": "ServiceRequest.requester",
        "comment": "Use PractitionerRole to map both practitioner staff and organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.performerType",
        "path": "ServiceRequest.performerType",
        "comment": "Map to receiving role"
      },
      {
        "id": "ServiceRequest.performer",
        "path": "ServiceRequest.performer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.locationCode",
        "path": "ServiceRequest.locationCode",
        "max": "0"
      },
      {
        "id": "ServiceRequest.locationReference",
        "path": "ServiceRequest.locationReference",
        "max": "0"
      },
      {
        "id": "ServiceRequest.specimen",
        "path": "ServiceRequest.specimen",
        "max": "0"
      },
      {
        "id": "ServiceRequest.bodySite",
        "path": "ServiceRequest.bodySite",
        "max": "0"
      }
    ]
  }
}