PackagesCanonicalsLogsProblems
    Packages
    cezih.hr.cezih-osnova@0.2.9
    http://fhir.cezih.hr/specifikacije/StructureDefinition/PMIRBundleInternal
description: Profil se koristi za sinhronizaciju zapisa o pacijentima u FHIR server.
package_name: cezih.hr.cezih-osnova
derivation: constraint
name: HRPMIRBundleInternal
type: Bundle
elements:
  type:
    pattern: {type: code, value: message}
    type: code
    index: 0
  entry:
    array: true
    min: 2
    max: 2
    index: 1
    slicing:
      rules: closed
      ordered: true
      discriminator:
      - {path: resource, type: type}
      min: 2
      max: 2
      slices:
        PMIRMessageHeaderEntryInternal:
          match: {}
          schema:
            _required: true
            index: 2
            elements:
              fullUrl: {index: 3}
              resource: {type: MessageHeader, index: 4}
            required: [fullUrl, resource]
        PMIRBundleHistoryEntry:
          match: {}
          schema:
            _required: true
            index: 5
            elements:
              fullUrl: {index: 6}
              resource:
                type: Bundle
                index: 7
                elements:
                  total: {index: 8}
                  link: {index: 9}
                  entry:
                    index: 10
                    slicing:
                      slices:
                        PMIREntryCreate:
                          match: {}
                          schema:
                            index: 10
                            elements:
                              resource:
                                elements:
                                  identifier:
                                    index: 11
                                    slicing:
                                      rules: open
                                      discriminator:
                                      - {path: system, type: value}
                                      min: 1
                                      slices:
                                        MBO:
                                          match: {system: 'http://fhir.cezih.hr/specifikacije/identifikatori/MBO'}
                                          schema:
                                            _required: true
                                            index: 12
                                            elements:
                                              system:
                                                pattern: {type: uri, value: 'http://fhir.cezih.hr/specifikacije/identifikatori/MBO'}
                                                type: uri
                                                index: 13
                                              value: {index: 14}
                                            required: [system, value]
                                        OIB:
                                          match: {system: 'http://fhir.cezih.hr/specifikacije/identifikatori/OIB'}
                                          schema:
                                            index: 15
                                            elements:
                                              system:
                                                pattern: {type: uri, value: 'http://fhir.cezih.hr/specifikacije/identifikatori/OIB'}
                                                type: uri
                                                index: 16
                                              value: {index: 17}
                                            required: [system, value]
                                  name: {index: 18}
                                  deceased:
                                    choices: [deceasedDateTime]
                                    index: 20
                                  deceasedDateTime: {type: dateTime, choiceOf: deceased, index: 21}
                                required: [identifier]
                        PMIREntryUpdate:
                          match: {}
                          schema:
                            index: 22
                            elements:
                              resource:
                                elements:
                                  identifier:
                                    index: 23
                                    elements:
                                      system: {index: 24}
                                      value: {index: 25}
                                    required: [system, value]
                                    slicing:
                                      rules: open
                                      discriminator:
                                      - {path: system, type: value}
                                      min: 1
                                      slices:
                                        MBO:
                                          match: {system: 'http://fhir.cezih.hr/specifikacije/identifikatori/MBO'}
                                          schema:
                                            _required: true
                                            index: 26
                                            elements:
                                              system:
                                                pattern: {type: uri, value: 'http://fhir.cezih.hr/specifikacije/identifikatori/MBO'}
                                                type: uri
                                                index: 27
                                              value: {index: 28}
                                            required: [system, value]
                                        OIB:
                                          match: {system: 'http://fhir.cezih.hr/specifikacije/identifikatori/OIB'}
                                          schema:
                                            index: 29
                                            elements:
                                              system:
                                                pattern: {type: uri, value: 'http://fhir.cezih.hr/specifikacije/identifikatori/OIB'}
                                                type: uri
                                                index: 30
                                              value: {index: 31}
                                            required: [system, value]
                                required: [identifier]
              search: {index: 32}
              request: {index: 33}
              response: {index: 34}
            required: [fullUrl, resource]
package_version: 0.2.9
class: profile
kind: resource
url: http://fhir.cezih.hr/specifikacije/StructureDefinition/PMIRBundleInternal
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: null