PackagesCanonicalsLogsProblems
    Packages
    hl7.eu.fhir.pcsp@0.1.0
    http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-diagnosis-eu-pcsp
description: This profile defines how to represent diagnosis details (when the diagnosis was made; who made it;...) in FHIR for the purpose of the PanCareSurPass project.
package_name: hl7.eu.fhir.pcsp
derivation: constraint
name: ObservationDiagnosisPcsp
type: Observation
elements:
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 29308-4, system: 'http://loinc.org', display: Diagnosis}
    index: 0
  subject:
    type: Reference
    refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Patient-eu-pcsp']
    index: 1
  effective:
    choices: []
    index: 3
  effectiveDateTime: {type: dateTime, mustSupport: true, index: 4}
  performer:
    index: 5
    slicing:
      rules: open
      description: Slice based on the reference type
      discriminator:
      - {path: $this.resolve(), type: type}
      min: null
      slices:
        primaryCenter:
          match: {}
          schema:
            short: Center of diagnosis
            refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Organization-center-eu-pcsp']
            type: Reference
            mustSupport: true
            index: 6
            elements:
              identifier: {short: Business identifier of the Center of diagnosis, index: 7}
              display: {short: Short textual description of the Center of diagnosis, index: 8}
  value:
    choices: []
    index: 10
  valueCodeableConcept: {type: CodeableConcept, index: 11}
  component: {index: 12}
package_version: 0.1.0
class: profile
kind: resource
url: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-diagnosis-eu-pcsp
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.1.0
required: [effectiveDateTime, value, subject, valueCodeableConcept, effective]