PackagesCanonicalsLogsProblems
    Packages
    medmij.fhir.nl.r4.pathology@1.0.0-alpha.2
    http://medmij.nl/fhir/StructureDefinition/path-Request
description: Request for a pathology study to be performed by a certain laboratory.
package_name: medmij.fhir.nl.r4.pathology
derivation: constraint
name: PathRequest
type: ServiceRequest
elements:
  status:
    pattern: {type: Code, value: completed}
    index: 0
  intent:
    pattern: {type: Code, value: order}
    index: 1
  category:
    array: true
    min: 3
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 3
      slices:
        pathology:
          match:
            coding:
            - {code: '108257001', system: 'http://snomed.info/sct'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '108257001', system: 'http://snomed.info/sct'}
            _required: true
            index: 3
          min: 1
          max: 1
        requestType:
          match: {}
          schema:
            short: RequestType
            _required: true
            binding: {strength: required, valueSet: 'http://medmij.nl/fhir/ValueSet/MercuriusRequestType'}
            index: 4
          min: 1
          max: 1
        healthScreeningType:
          match: {}
          schema:
            short: HealthScreeningType
            _required: true
            binding: {strength: required, valueSet: 'http://medmij.nl/fhir/ValueSet/MercuriusHealthScreeningType'}
            index: 5
          min: 1
          max: 1
  code:
    index: 6
    elements:
      coding:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            cytology:
              match: {code: '1348332002', system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {code: '1348332002', system: 'http://snomed.info/sct'}
                index: 8
              min: 0
              max: 1
            histology:
              match: {code: '252416005', system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {code: '252416005', system: 'http://snomed.info/sct'}
                index: 9
              min: 0
              max: 1
    required: [coding]
  subject:
    type: Reference
    short: Patient
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://medmij.nl/fhir/StructureDefinition/path-Patient']
    index: 10
  requester:
    type: Reference
    short: Requester
    refers: ['http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://medmij.nl/fhir/StructureDefinition/path-Request.Requester']
    index: 11
  reasonCode:
    index: 12
    elements:
      text: {short: ClinicalQuestion, index: 13}
    required: [text]
  specimen:
    short: Specimen
    refers: ['http://hl7.org/fhir/StructureDefinition/Specimen', 'http://medmij.nl/fhir/StructureDefinition/path-Request.Specimen']
    type: Reference
    index: 14
package_version: 1.0.0-alpha.2
class: profile
kind: resource
url: http://medmij.nl/fhir/StructureDefinition/path-Request
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: null
required: [requester, specimen, reasonCode, code]