PackagesCanonicalsLogsProblems
    Packages
    br.go.ses.saude-mulher@0.0.4
    https://fhir.saude.go.gov.br/r4/saude-mulher/StructureDefinition/idade-gestacional
description: Refere-se à idade gestacional tendo como referência a data da última menstruação (DUM).\n\nQuantidade indicada em semanas\nValor mínimo=1 \nValor máximo=42
package_name: br.go.ses.saude-mulher
derivation: constraint
name: IdadeGestacional
type: Observation
elements:
  code:
    elements:
      coding:
        index: 0
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            index: 1
          code:
            pattern: {type: Code, value: 18185-9}
            index: 2
        required: [system, code]
    required: [coding]
  subject:
    type: Reference
    short: Identificador nacional da cidadã/gestante.
    refers: ['https://fhir.saude.go.gov.br/r4/core/StructureDefinition/individuo']
    index: 3
    elements:
      identifier:
        index: 4
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.saude.go.gov.br/sid/cpf'}
            index: 5
          value: {index: 6}
        required: [value, system]
    required: [identifier]
  encounter:
    type: Reference
    refers: ['https://fhir.saude.go.gov.br/r4/saude-mulher/StructureDefinition/consulta-acompanhamento-gestante']
    index: 7
  value:
    choices: []
    index: 9
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        valueQuantity:
          match: {}
          schema:
            short: Idade gestacional
            choices: [valueQuantity]
            _required: true
            index: 11
          min: 1
          max: 1
  valueQuantity:
    short: Idade gestacional
    type: Quantity
    choiceOf: value
    index: 12
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {short: Idade gestacional, type: Quantity, _required: true, choiceOf: value, index: 12}
          min: 1
          max: 1
  value[x]:
    elements:
      value: {index: 13}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 14
      code:
        pattern: {type: Code, value: wk}
        index: 15
    required: [value, system, code]
  referenceRange:
    elements:
      low:
        short: Valor mínimo
        index: 16
        elements:
          value:
            pattern: {type: Decimal, value: 1}
            index: 17
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 18
          code:
            pattern: {type: Code, value: wk}
            index: 19
        required: [value, system, code]
      high:
        short: Valor máximo
        index: 20
        elements:
          value:
            pattern: {type: Decimal, value: 42}
            index: 21
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 22
          code:
            pattern: {type: Code, value: wk}
            index: 23
        required: [value, system, code]
    required: [low, high]
package_version: 0.0.4
class: profile
kind: resource
url: https://fhir.saude.go.gov.br/r4/saude-mulher/StructureDefinition/idade-gestacional
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.0.4
required: [encounter, value, subject, valueQuantity]