PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.7.0
    https://mednet.swiss/fhir/StructureDefinition/mni-obs-laboratory
description: MedNet Interface (MNI) - Laboratory Observation Profile
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIlaboratoryObservation
type: Observation
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}
  status:
    short: final
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 1
  category:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category', display: Laboratory}
    index: 2
  code:
    short: The supported analyses are listed in the Laboratory Observation ValueSet.
    binding: {strength: extensible, valueSet: 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory'}
    mustSupport: true
    index: 3
    elements:
      coding:
        index: 4
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: 1
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct', code: null}
              schema:
                mustSupport: true
                index: 5
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 6
                  code: {mustSupport: true, index: 7}
                  display: {mustSupport: true, index: 8}
                required: [system, code]
            loinc:
              match: {system: 'http://loinc.org', code: null}
              schema:
                mustSupport: true
                index: 9
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 10
                  code: {mustSupport: true, index: 11}
                  display: {mustSupport: true, index: 12}
                required: [system, code]
    required: [coding]
  subject:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 13
  effectiveDateTime: {short: If no datetime is available for this observation it can be the current dateTime, mustSupport: true, index: 14}
  valueQuantity:
    mustSupport: true
    index: 15
    elements:
      value: {mustSupport: true, index: 16}
      unit: {short: Unit representation (free text), mustSupport: true, index: 17}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        mustSupport: true
        index: 18
      code:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
        mustSupport: true
        index: 19
    required: [value]
package_version: 0.7.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-obs-laboratory
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.7.0
required: [category, valueQuantity, code]