PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.9.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]
        BodyMassIndex:
          match: {}
          schema:
            short: all the BodyMassIndex 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:0359a120-223b-4169-83f4-1325a53f25de       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 47}
              resource: {type: Observation, mustSupport: true, index: 48}
            required: [resource, fullUrl]
        DocumentReference:
          match: {}
          schema:
            short: all the DocumentReference objects included
            mustSupport: true
            array: true
            index: 76
            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: 77}
              resource: {type: DocumentReference, mustSupport: true, index: 78}
            required: [resource, fullUrl]
        Laboratory:
          match: {}
          schema:
            short: all the Laboratory objects included
            mustSupport: true
            array: true
            index: 70
            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:3d365d98-d069-4194-bf6d-bfbdfd91a703       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 71}
              resource: {type: Observation, mustSupport: true, index: 72}
            required: [resource, fullUrl]
        Coverage:
          match: {}
          schema:
            short: all the Coverage 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: Coverage, mustSupport: true, index: 36}
            required: [resource, fullUrl]
        Contract:
          match: {}
          schema:
            short: all the Contract 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: Contract, mustSupport: true, index: 39}
            required: [resource, fullUrl]
        EstimatedDateOfConception:
          match: {}
          schema:
            short: all the EstimatedDateOfConception 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:7c3334b0-4d26-4cc2-a970-27b6c2fbe4e9       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 59}
              resource: {type: Observation, mustSupport: true, index: 60}
            required: [resource, fullUrl]
        RiskFactor:
          match: {}
          schema:
            short: all the RiskFactor 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:3906daac-6063-43cf-85c4-8608f14f6d39       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 56}
              resource: {type: Observation, mustSupport: true, index: 57}
            required: [resource, fullUrl]
        BodyHeight:
          match: {}
          schema:
            short: all the BodyHeight 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:194bded3-96d7-46e3-ad73-98d38100d702       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 44}
              resource: {type: Observation, mustSupport: true, index: 45}
            required: [resource, fullUrl]
        FamilyMemberHistory:
          match: {}
          schema:
            short: all the FamilyMemberHistory objects included
            mustSupport: true
            array: true
            index: 85
            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: 86}
              resource: {type: FamilyMemberHistory, mustSupport: true, index: 87}
            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]
        TimeOfGestation:
          match: {}
          schema:
            short: all the TimeOfGestation objects included
            mustSupport: true
            array: true
            index: 67
            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:b14e0f82-d131-4280-a736-c4dfae9d4a45       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 68}
              resource: {type: Observation, mustSupport: true, index: 69}
            required: [resource, fullUrl]
        PractitionerRole:
          match: {}
          schema:
            short: all the PractitionerRole 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:8675b428-fc7b-4b47-b1f4-ea20cbeaa2a5       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 26}
              resource: {type: PractitionerRole, mustSupport: true, index: 27}
            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: 91
            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: 92}
              resource: {type: MedicationStatement, mustSupport: true, index: 93}
            required: [resource, fullUrl]
        BodyWeight:
          match: {}
          schema:
            short: all the BodyWeight 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: Observation, mustSupport: true, index: 42}
            required: [resource, fullUrl]
        DateOfLastMenstruation:
          match: {}
          schema:
            short: all the DateOfLastMenstruation objects included
            mustSupport: true
            array: true
            index: 64
            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:2efc9728-d0dd-4214-8bdc-77a428ae421b       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 65}
              resource: {type: Observation, mustSupport: true, index: 66}
            required: [resource, fullUrl]
        BloodGroup:
          match: {}
          schema:
            short: all the BloodGroup 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:f0f2f934-046a-4744-90c4-27133cd7a0fe       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 53}
              resource: {type: Observation, mustSupport: true, index: 54}
            required: [resource, fullUrl]
        BloodPressure:
          match: {}
          schema:
            short: all the BloodPressure 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:566f7907-642a-4e97-a2ec-9e98b2e7b48d       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 50}
              resource: {type: Observation, mustSupport: true, index: 51}
            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: 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: RelatedPerson, mustSupport: true, index: 30}
            required: [resource, fullUrl]
        Medication:
          match: {}
          schema:
            short: all the Medication objects included
            mustSupport: true
            array: true
            index: 94
            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: 95}
              resource: {type: Medication, mustSupport: true, index: 96}
            required: [resource, fullUrl]
        EstimatedDateOfDelivery:
          match: {}
          schema:
            short: all the EstimatedDateOfDelivery objects included
            mustSupport: true
            array: true
            index: 61
            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:923b4572-a6c9-415b-8ebe-0038accfe8f3       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 62}
              resource: {type: Observation, mustSupport: true, index: 63}
            required: [resource, fullUrl]
        Condition:
          match: {}
          schema:
            short: all the Condition objects included
            mustSupport: true
            array: true
            index: 82
            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: 83}
              resource: {type: Condition, mustSupport: true, index: 84}
            required: [resource, fullUrl]
        Procedure:
          match: {}
          schema:
            short: all the Procedure objects included
            mustSupport: true
            array: true
            index: 79
            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: 80}
              resource: {type: Procedure, mustSupport: true, index: 81}
            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: 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: Device, mustSupport: true, index: 33}
            required: [resource, fullUrl]
        AllergyIntolerance:
          match: {}
          schema:
            short: all the AllergyIntolerance objects included
            mustSupport: true
            array: true
            index: 88
            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: 89}
              resource: {type: AllergyIntolerance, mustSupport: true, index: 90}
            required: [resource, fullUrl]
        Annotation:
          match: {}
          schema:
            short: all the Annotation objects included
            mustSupport: true
            array: true
            index: 73
            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:3a29da06-4994-4c84-8cc9-3b1210c934ed       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 74}
              resource: {type: Observation, mustSupport: true, index: 75}
            required: [resource, fullUrl]
package_version: 0.9.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-patientOverview-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 0.9.0
required: [entry, timestamp, identifier]