PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.2.0
    https://mednet.swiss/fhir/StructureDefinition/mni-serviceRequest
description: MedNet Interface (MNI) - ServiceRequest Profile
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIServiceRequest
type: ServiceRequest
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:
    mustSupport: true
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.system, type: value}
      - {path: type.coding.code, type: value}
      min: null
      slices:
        orderNr:
          match:
            type:
              coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203', code: MR}
          schema:
            short: The orderNr of the calling system
            mustSupport: true
            index: 2
            elements:
              type:
                mustSupport: true
                index: 3
                elements:
                  coding:
                    mustSupport: true
                    index: 4
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 5
                      code:
                        pattern: {type: Code, value: MR}
                        mustSupport: true
                        index: 6
                      display:
                        pattern: {type: String, value: Medical record number}
                        mustSupport: true
                        index: 7
                    required: [system, code]
              system: {short: 'Uri that defines the Software that delivers the orderNr. If possible this uri should be unique for each order database  for example https://mysoftware.ch/orderDB/123456', mustSupport: true, index: 8}
              value: {short: The calling system order number, mustSupport: true, index: 9}
            required: [value, system]
  status: {short: 'Recommended value : active', mustSupport: true, index: 10}
  intent:
    short: order
    pattern: {type: Code, value: order}
    mustSupport: true
    index: 11
  priority: {mustSupport: true, index: 12}
  code:
    short: Allow specifing the kind of form that should be prefilled by MedNet, like laboratory order, radiologiy order, hospital admission
    mustSupport: true
    index: 13
    elements:
      coding:
        short: Used to categorize the service request type. Could be used to filter the forms proposed to the user
        binding: {strength: preferred, valueSet: 'https://mednet.swiss/fhir/ValueSet/mni-serviceRequestCode'}
        mustSupport: true
        index: 14
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 15
          code: {short: 721965002 (Laboratory order) | 721964003 (Radiologiy order) | 721964003 (Hospital admission), mustSupport: true, index: 16}
          display: {mustSupport: true, index: 17}
  subject:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 18
package_version: 0.2.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-serviceRequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 0.2.0