PackagesCanonicalsLogsProblems
    Packages
    medmij.fhir.nl.r4.pathology@1.0.0-alpha.2
    http://medmij.nl/fhir/StructureDefinition/path-Report
description: Pathology report which contains the findings and interpretation of a pathology study.
package_name: medmij.fhir.nl.r4.pathology
derivation: constraint
name: PathReport
type: DiagnosticReport
elements:
  category:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      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: 5
          min: 1
          max: 1
  conclusion: {short: Conclusion, index: 24}
  specimen:
    short: Specimen
    refers: ['http://hl7.org/fhir/StructureDefinition/Specimen', 'http://medmij.nl/fhir/StructureDefinition/path-Request.Specimen']
    type: Reference
    index: 19
  effective[x]:
    elements:
      start: {short: ReceivedDate, index: 16}
      end: {short: AuthorizationDate, index: 17}
    required: [start, end]
  resultsInterpreter:
    short: Authorizer
    refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-Practitioner', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole']
    type: Reference
    index: 18
  status:
    pattern: {type: Code, value: final}
    index: 3
  result:
    short: ProtocolData
    refers: ['http://hl7.org/fhir/StructureDefinition/Observation', 'http://medmij.nl/fhir/StructureDefinition/path-Report.ProtocolDataItem']
    type: Reference
    index: 20
    slicing:
      rules: open
      discriminator:
      - {path: resolve().code, type: value}
      min: 1
      slices:
        clinicalInformation:
          match:
            resolve(): {code: null}
          schema:
            type: Reference
            refers: ['http://medmij.nl/fhir/StructureDefinition/path-Report.ClinicalInformation']
            index: 21
          min: 0
          max: 1
        macroscopy:
          match:
            resolve(): {code: null}
          schema:
            type: Reference
            refers: ['http://medmij.nl/fhir/StructureDefinition/path-Report.Macroscopy']
            index: 22
          min: 0
          max: 1
        microscopy:
          match:
            resolve(): {code: null}
          schema:
            type: Reference
            refers: ['http://medmij.nl/fhir/StructureDefinition/path-Report.Microscopy']
            _required: true
            index: 23
          min: 1
          max: 1
  effective:
    choices: []
    index: 12
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        effectivePeriod:
          match: {}
          schema:
            choices: [effectivePeriod]
            _required: true
            index: 14
          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]
  identifier:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: profile}
      min: 1
      slices:
        reportIdentifier:
          match: {}
          schema: {type: Identifier, _required: true, index: 1}
          min: 1
          max: 1
  basedOn:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/ServiceRequest', 'http://medmij.nl/fhir/StructureDefinition/path-Request']
    index: 2
  subject:
    type: Reference
    short: Patient
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://medmij.nl/fhir/StructureDefinition/path-Patient']
    index: 10
  effectivePeriod:
    type: Period
    choiceOf: effective
    index: 15
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {type: Period, choiceOf: effective, _required: true, index: 15}
          min: 1
          max: 1
package_version: 1.0.0-alpha.2
class: profile
kind: resource
url: http://medmij.nl/fhir/StructureDefinition/path-Report
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: null
required: [resultsInterpreter, basedOn, effectivePeriod, conclusion, identifier, subject, specimen, category, effective, result]