PackagesCanonicalsLogsProblems
    Packages
    br.go.ses.core@1.1.0
    https://fhir.saude.go.gov.br/r4/core/StructureDefinition/idade-gestacional-parto
description: Perfil do recurso Observation para registrar a idade gestacional da parturiente imediatamente antes do parto,\n conforme declarada no momento do atendimento do parto, para fins de preenchimento da Declaração de Nascido Vivo (DNV).
package_name: br.go.ses.core
derivation: constraint
name: IdadeGestacionalParto
type: Observation
elements:
  value[x]:
    elements:
      value: {short: Número de semanas de gestação, index: 18}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 19
      code:
        pattern: {type: Code, value: wk}
        index: 20
    required: [value, system, code]
  encounter:
    type: Reference
    short: Local de Atendimento do Parto
    refers: ['https://fhir.saude.go.gov.br/r4/core/StructureDefinition/atendimento-parto']
    index: 12
  method:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.saude.go.gov.br/r4/core/CodeSystem/metodo-idade-gestacional'}
            index: 21
          code:
            binding: {strength: required, valueSet: 'https://fhir.saude.go.gov.br/r4/core/ValueSet/metodo-idade-gestacional'}
            index: 22
        required: [system, code]
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 17
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 17}
          min: 0
          max: 1
  value:
    choices: []
    index: 14
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 16
          min: 0
          max: 1
  status:
    pattern: {type: Code, value: final}
    index: 4
  code:
    elements:
      coding:
        index: 5
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            index: 6
          code:
            pattern: {type: Code, value: 11884-4}
            index: 7
        required: [system, code]
    required: [coding]
  identifier:
    index: 0
    elements:
      system:
        pattern: {type: Uri, value: 'http://www.saude.go.gov.br/fhir/r4/NamingSystem/dnv'}
        index: 1
      value: {short: Número da Declaração de Nascido Vivo, index: 2}
      period:
        elements:
          start: {short: Data do preenchimento, index: 3}
        required: [start]
    required: [value, system]
  subject:
    type: Reference
    short: Parturiente
    refers: ['https://fhir.saude.go.gov.br/r4/core/StructureDefinition/individuo']
    index: 8
    elements:
      identifier:
        constraint:
          CPFouCNS: {human: O sistema de identificação do indivíduo deve ser ou CPF ou CNS, source: 'https://fhir.saude.go.gov.br/r4/core/StructureDefinition/idade-gestacional-parto', severity: error, expression: 'system = ''https://fhir.saude.go.gov.br/sid/cpf'' or system = ''https://fhir.saude.go.gov.br/sid/cns'''}
        index: 9
        elements:
          system: {index: 10}
          value: {index: 11}
        required: [value, system]
    required: [identifier]
package_version: 1.1.0
class: profile
kind: resource
url: https://fhir.saude.go.gov.br/r4/core/StructureDefinition/idade-gestacional-parto
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.1.0
required: [encounter, identifier, subject]