{
  "resourceType": "StructureDefinition",
  "id": "ca-qc-akinox-profile-Service-Request",
  "url": "http://fhir.akinox.com/r5/StructureDefinition/ServiceRequest",
  "version": "1.0.0",
  "name": "QuebecServiceRequest",
  "title": "ServiceRequest",
  "status": "draft",
  "description": "The Patient resources contain demographics and other administrative information about the individual.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 V2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM 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",
  "differential": {
    "element": [
      {
        "id": "ServiceRequest.meta",
        "path": "ServiceRequest.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.meta.profile",
        "path": "ServiceRequest.meta.profile",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.extension",
        "path": "ServiceRequest.extension",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.akinox.com/r5/StructureDefinition/ext-contextual-launch-url"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.identifier",
        "path": "ServiceRequest.identifier",
        "comment": "Include Akinox case identifier.",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier.type",
        "path": "ServiceRequest.identifier.type",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier.type.coding",
        "path": "ServiceRequest.identifier.type.coding",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier.type.coding.system",
        "path": "ServiceRequest.identifier.type.coding.system",
        "fixedUri": "http://akinox.com/fhir/ValueSet/akinox-identifier-type",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier.type.coding.code",
        "path": "ServiceRequest.identifier.type.coding.code",
        "fixedCode": "CaseId",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://akinox.com/fhir/ValueSet/akinox-identifier-type"
        }
      },
      {
        "id": "ServiceRequest.identifier.value",
        "path": "ServiceRequest.identifier.value",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.status",
        "path": "ServiceRequest.status",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.intent",
        "path": "ServiceRequest.intent",
        "fixedCode": "proposal",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.category",
        "path": "ServiceRequest.category",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.category.coding",
        "path": "ServiceRequest.category.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.category.coding.system",
        "path": "ServiceRequest.category.coding.system",
        "fixedUri": "http://akinox.com/fhir/ValueSet/akinox-category-type",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.category.coding.code",
        "path": "ServiceRequest.category.coding.code",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://akinox.com/fhir/ValueSet/akinox-category-type"
        }
      },
      {
        "id": "ServiceRequest.subject",
        "path": "ServiceRequest.subject",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.requester",
        "path": "ServiceRequest.requester",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.requester.reference",
        "path": "ServiceRequest.requester.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.performer",
        "path": "ServiceRequest.performer",
        "max": "1"
      }
    ]
  }
}