PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@2.2.18
    http://nictiz.nl/fhir/StructureDefinition/gp-JournalEntry
description: JournalEntry S-O-A-P (Dutch S-O-E-P) as defined in the NHG HIS Referentiemodel.
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: gp-JournalEntry
type: Observation
elements:
  referenceRange: {index: 19}
  interpretation: {index: 13}
  method: {index: 16}
  specimen: {index: 17}
  valueString:
    type: string
    short: Journal Entry text
    index: 11
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, short: Journal Entry text, _required: true, index: 11}
          min: 1
  related: {index: 20}
  component:
    array: true
    max: 2
    index: 21
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: null
      max: 2
      slices:
        ICPC_S:
          match:
            code:
              coding:
              - {code: ADMDX, system: 'http://hl7.org/fhir/v3/ActCode', display: admitting diagnosis}
          schema:
            index: 22
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ADMDX, system: 'http://hl7.org/fhir/v3/ActCode', display: admitting diagnosis}
                index: 23
              valueCodeableConcept:
                type: CodeableConcept
                index: 24
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        type: CodeableConcept
                        _required: true
                        index: 24
                        elements:
                          coding:
                            index: 25
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://hl7.org/fhir/sid/icpc-1-nl'}
                                index: 26
                              code: {index: 27}
                            required: [system, code]
                        required: [coding]
            required: [valueCodeableConcept]
        ICPC_E:
          match:
            code:
              coding:
              - {code: DISDX, system: 'http://hl7.org/fhir/v3/ActCode', display: discharge diagnosis}
          schema:
            index: 28
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: DISDX, system: 'http://hl7.org/fhir/v3/ActCode', display: discharge diagnosis}
                index: 29
              valueCodeableConcept:
                type: CodeableConcept
                index: 30
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        type: CodeableConcept
                        _required: true
                        index: 30
                        elements:
                          coding:
                            index: 31
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://hl7.org/fhir/sid/icpc-1-nl'}
                                index: 32
                              code: {index: 33}
                            required: [system, code]
                        required: [coding]
            required: [valueCodeableConcept]
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        nl-core-episodeofcare:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          min: 0
  status:
    short: final
    pattern: {type: Code, value: final}
    index: 4
  effective:
    mustSupport: true
    choices: []
    index: 9
  comment: {index: 14}
  code: {short: NHG SOAP Code, index: 5}
  identifier: {index: 2}
  bodySite: {index: 15}
  context:
    type: Reference
    short: Encounter during which this observation is made
    refers: ['http://nictiz.nl/fhir/StructureDefinition/gp-Encounter']
    index: 7
  issued: {index: 10}
  device: {index: 18}
  basedOn: {index: 3}
  subject:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
    index: 6
  dataAbsentReason: {index: 12}
package_version: 2.2.18
extensions:
  nl-core-episodeofcare: {url: h, min: 0, type: Extension, index: 1}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/gp-JournalEntry
base: http://fhir.nl/fhir/StructureDefinition/nl-core-observation
version: 2.0.4
required: [valueString, context]