PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.5.0
    https://mednet.swiss/fhir/StructureDefinition/mni-patientOverview-bundle
description: MedNet Interface (MNI) - PatientOverview Bundle
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIPatientOverviewBundle
type: Bundle
elements:
  id: {short: 'The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters ''A''..''Z'', and ''a''..''z'', numerals (''0''..''9''), ''-'' and ''.'' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.)', mustSupport: true, index: 0}
  identifier:
    short: A unique identifier of the Bundle in UUID format. Could represent a transaction number
    mustSupport: true
    index: 1
    elements:
      system:
        pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
        mustSupport: true
        index: 2
      value: {short: 'A UUID for the Bundle. It can be the same as Bundle/id if it is also an UUID (prefixed with urn:uuid)', mustSupport: true, index: 3}
    required: [value, system]
  type:
    short: 'Fixed value : document'
    pattern: {type: Code, value: document}
    mustSupport: true
    index: 4
  timestamp: {mustSupport: true, index: 5}
  entry:
    short: First Composition must be a mni-patientOverview-composition
    mustSupport: true
    index: 6
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: resource, type: profile}
      min: 1
      slices:
        ServiceRequest:
          match: {}
          schema:
            short: all the ServiceRequest objects included
            mustSupport: true
            array: true
            index: 13
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 14}
              resource: {type: ServiceRequest, mustSupport: true, index: 15}
            required: [resource, fullUrl]
        Observation:
          match: {}
          schema:
            short: all the Observation objects included
            mustSupport: true
            array: true
            index: 37
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 38}
              resource: {type: Observation, mustSupport: true, index: 39}
            required: [resource, fullUrl]
        DocumentReference:
          match: {}
          schema:
            short: all the DocumentReference objects included
            mustSupport: true
            array: true
            index: 40
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 41}
              resource: {type: DocumentReference, mustSupport: true, index: 42}
            required: [resource, fullUrl]
        Coverage:
          match: {}
          schema:
            short: all the Coverage objects included
            mustSupport: true
            array: true
            index: 31
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 32}
              resource: {type: Coverage, mustSupport: true, index: 33}
            required: [resource, fullUrl]
        Contract:
          match: {}
          schema:
            short: all the Contract objects included
            mustSupport: true
            array: true
            index: 34
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 35}
              resource: {type: Contract, mustSupport: true, index: 36}
            required: [resource, fullUrl]
        FamilyMemberHistory:
          match: {}
          schema:
            short: all the FamilyMemberHistory objects included
            mustSupport: true
            array: true
            index: 49
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 50}
              resource: {type: FamilyMemberHistory, mustSupport: true, index: 51}
            required: [resource, fullUrl]
        Composition:
          match: {}
          schema:
            short: Composition
            mustSupport: true
            _required: true
            index: 7
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 8}
              resource: {type: Composition, mustSupport: true, index: 9}
            required: [resource, fullUrl]
        Patient:
          match: {}
          schema:
            short: all the Patient objects included
            mustSupport: true
            array: true
            index: 16
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 17}
              resource: {type: Patient, mustSupport: true, index: 18}
            required: [resource, fullUrl]
        Practitioner:
          match: {}
          schema:
            short: all the Practitioner objects included
            mustSupport: true
            array: true
            index: 19
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 20}
              resource: {type: Practitioner, mustSupport: true, index: 21}
            required: [resource, fullUrl]
        MedicationStatement:
          match: {}
          schema:
            short: all the MedicationStatement objects included
            mustSupport: true
            array: true
            index: 55
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 56}
              resource: {type: MedicationStatement, mustSupport: true, index: 57}
            required: [resource, fullUrl]
        Encounter:
          match: {}
          schema:
            short: all the Encounter objects included
            mustSupport: true
            array: true
            index: 10
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 11}
              resource: {type: Encounter, mustSupport: true, index: 12}
            required: [resource, fullUrl]
        RelatedPerson:
          match: {}
          schema:
            short: all the RelatedPerson objects included
            mustSupport: true
            array: true
            index: 25
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 26}
              resource: {type: RelatedPerson, mustSupport: true, index: 27}
            required: [resource, fullUrl]
        Medication:
          match: {}
          schema:
            short: all the Medication objects included
            mustSupport: true
            array: true
            index: 58
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 59}
              resource: {type: Medication, mustSupport: true, index: 60}
            required: [resource, fullUrl]
        Condition:
          match: {}
          schema:
            short: all the Condition objects included
            mustSupport: true
            array: true
            index: 46
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 47}
              resource: {type: Condition, mustSupport: true, index: 48}
            required: [resource, fullUrl]
        Procedure:
          match: {}
          schema:
            short: all the Procedure objects included
            mustSupport: true
            array: true
            index: 43
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 44}
              resource: {type: Procedure, mustSupport: true, index: 45}
            required: [resource, fullUrl]
        Organization:
          match: {}
          schema:
            short: all the Organization objects included
            mustSupport: true
            array: true
            index: 22
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 23}
              resource: {type: Organization, mustSupport: true, index: 24}
            required: [resource, fullUrl]
        Device:
          match: {}
          schema:
            short: all the Device objects included
            mustSupport: true
            array: true
            index: 28
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 29}
              resource: {type: Device, mustSupport: true, index: 30}
            required: [resource, fullUrl]
        AllergyIntolerance:
          match: {}
          schema:
            short: all the AllergyIntolerance objects included
            mustSupport: true
            array: true
            index: 52
            elements:
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 53}
              resource: {type: AllergyIntolerance, mustSupport: true, index: 54}
            required: [resource, fullUrl]
package_version: 0.5.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-patientOverview-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 0.5.0
required: [entry, timestamp, identifier]