PackagesCanonicalsLogsProblems
    Packages
    medmij.fhir.nl.r4.pathology@1.0.0-alpha.3
    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:
  category:
    array: true
    min: 3
    index: 8
    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: 9
          min: 1
          max: 1
        requestType:
          match: {}
          schema:
            short: RequestType
            _required: true
            binding: {strength: required, valueSet: 'http://medmij.nl/fhir/ValueSet/MercuriusRequestType'}
            index: 10
          min: 1
          max: 1
        healthScreeningType:
          match: {}
          schema:
            short: HealthScreeningType
            _required: true
            binding: {strength: required, valueSet: 'http://medmij.nl/fhir/ValueSet/HealthScreeningType'}
            index: 11
          min: 1
          max: 1
  meta:
    index: 0
    elements:
      tag:
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            careType:
              match: {}
              schema:
                min: 1
                short: CareType
                array: true
                _required: true
                binding: {strength: required, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.2.4--20200901000000'}
                index: 2
            careType/pathology:
              match: {code: '0388', system: 'urn:oid:2.16.840.1.113883.2.4.6.7'}
              schema:
                pattern:
                  type: Coding
                  value: {code: '0388', system: 'urn:oid:2.16.840.1.113883.2.4.6.7'}
                _required: true
                index: 3
              min: 1
              max: 1
    required: [tag]
  specimen:
    short: Specimen
    refers: ['http://hl7.org/fhir/StructureDefinition/Specimen', 'http://medmij.nl/fhir/StructureDefinition/path-Request.Specimen']
    type: Reference
    index: 20
  reasonCode:
    index: 18
    elements:
      text: {short: ClinicalQuestion, index: 19}
    required: [text]
  requester:
    short: Requester
    refers: ['http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://medmij.nl/fhir/StructureDefinition/path-Request.Requester']
    type: Reference
    index: 17
  status:
    pattern: {type: Code, value: completed}
    index: 6
  code:
    index: 12
    elements:
      coding:
        index: 13
        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: 14
              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: 15
              min: 0
              max: 1
    required: [coding]
  identifier:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: profile}
      min: 1
      slices:
        requestIdentifier:
          match: {}
          schema: {short: IdentificationNumber / RequestIdentifier, type: Identifier, _required: true, index: 5}
          min: 1
          max: 1
  intent:
    pattern: {type: Code, value: order}
    index: 7
  subject:
    type: Reference
    short: Patient
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://medmij.nl/fhir/StructureDefinition/path-Patient']
    index: 16
package_version: 1.0.0-alpha.3
class: profile
kind: resource
url: http://medmij.nl/fhir/StructureDefinition/path-Request
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 1.0.0-alpha.3
required: [requester, identifier, specimen, meta, reasonCode, code]