PackagesCanonicalsLogsProblems
    Packages
    medmij.fhir.nl.r4.pathology@1.0.0-alpha.3
    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: 8
    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: 9
          min: 1
          max: 1
  conclusion: {short: Conclusion, index: 28}
  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: 23
  effective[x]:
    elements:
      start: {short: ReceivedDate, index: 20}
      end: {short: EffectiveDateTime / AuthorizationDate, index: 21}
    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: 22
  status:
    pattern: {type: Code, value: final}
    index: 7
  result:
    short: ProtocolData
    refers: ['http://hl7.org/fhir/StructureDefinition/Observation', 'http://medmij.nl/fhir/StructureDefinition/path-Report.ProtocolDataItem']
    type: Reference
    index: 24
    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: 25
          min: 0
          max: 1
        macroscopy:
          match:
            resolve(): {code: null}
          schema:
            type: Reference
            refers: ['http://medmij.nl/fhir/StructureDefinition/path-Report.Macroscopy']
            index: 26
          min: 0
          max: 1
        microscopy:
          match:
            resolve(): {code: null}
          schema:
            type: Reference
            refers: ['http://medmij.nl/fhir/StructureDefinition/path-Report.Microscopy']
            _required: true
            index: 27
          min: 1
          max: 1
  effective:
    choices: []
    index: 16
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        effectivePeriod:
          match: {}
          schema:
            choices: [effectivePeriod]
            _required: true
            index: 18
          min: 1
          max: 1
  code:
    index: 10
    elements:
      coding:
        index: 11
        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: 12
              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: 13
              min: 0
              max: 1
    required: [coding]
  identifier:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: profile}
      min: 1
      slices:
        reportIdentifier:
          match: {}
          schema: {type: Identifier, _required: true, index: 5}
          min: 1
          max: 1
  basedOn:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/ServiceRequest', 'http://medmij.nl/fhir/StructureDefinition/path-Request']
    index: 6
  subject:
    short: Patient
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://medmij.nl/fhir/StructureDefinition/path-Patient']
    type: Reference
    index: 14
  effectivePeriod:
    type: Period
    choiceOf: effective
    index: 19
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {type: Period, choiceOf: effective, _required: true, index: 19}
          min: 1
          max: 1
package_version: 1.0.0-alpha.3
class: profile
kind: resource
url: http://medmij.nl/fhir/StructureDefinition/path-Report
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: 1.0.0-alpha.3
required: [resultsInterpreter, basedOn, effectivePeriod, conclusion, identifier, subject, specimen, meta, category, effective, result]