PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.13.0
    https://mednet.swiss/fhir/StructureDefinition/mni-obs-timeOfGestation
description: MedNet Interface (MNI) - Time of gestation Profile
package_name: swiss.mednet.fhir
derivation: constraint
name: MNITimeOfGestation
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: 'Fixed value: final'
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 1
  code:
    short: Time of gestation
    mustSupport: true
    index: 2
    elements:
      coding:
        index: 3
        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: '445872007'}
              schema:
                mustSupport: true
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 5
                  code:
                    pattern: {type: Code, value: '445872007'}
                    mustSupport: true
                    index: 6
                  display:
                    pattern: {type: String, value: Length of gestation at time of procedure}
                    mustSupport: true
                    index: 7
                required: [system, code]
            loinc:
              match: {system: 'http://loinc.org', code: 49052-4}
              schema:
                mustSupport: true
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 9
                  code:
                    pattern: {type: Code, value: 49052-4}
                    mustSupport: true
                    index: 10
                  display:
                    pattern: {type: String, value: Gestational age in days}
                    mustSupport: true
                    index: 11
                required: [system, code]
    required: [coding]
  subject:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 12
  valueQuantity:
    mustSupport: true
    index: 13
    elements:
      value: {mustSupport: true, index: 14}
      unit: {short: Unit representation (free text), mustSupport: true, index: 15}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        mustSupport: true
        index: 16
      code:
        short: wk (weeks) | d (days)
        binding: {strength: required, valueSet: 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation'}
        mustSupport: true
        index: 17
    required: [value, system, code]
package_version: 0.13.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-obs-timeOfGestation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.13.0
required: [valueQuantity, code]