PackagesCanonicalsLogsProblems
    Packages
    package.teste@1.0.1-draft
    https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/CompositionPTPS
description: O recurso Composition corresponde a um conjunto de informações de saúde do utente que são agrupadas e fornecem informação agregada sobre o utente. O Composition define a estrutura e o conteúdo necessários para um documento, não constituindo este, no entanto, no documento em si. \nNo contexto do Patient Summary, é utilizado para agrupar informação relativamente a cada uma das secções que o compõem.
package_name: package.teste
derivation: constraint
name: CompositionPTPS
type: Composition
elements:
  category: {index: 8}
  date: {index: 11}
  encounter: {index: 10}
  section:
    index: 24
    slicing:
      rules: open
      discriminator:
      - {path: id, type: value}
      min: null
      slices:
        sectionAllergies:
          match: {id: sectionAllergies}
          schema:
            index: 25
            elements:
              orderedBy: {index: 36}
              section: {index: 38}
              mode: {index: 35}
              title:
                pattern: {type: String, value: Secção de Alergias e Reações Adversas}
                index: 27
              author: {index: 33}
              id:
                pattern: {type: Id, value: sectionAllergies}
                index: 26
              code:
                type: CodeableConcept
                binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/apoio-ao-registo-clinico'}
                index: 28
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 29
                      code:
                        pattern: {type: Code, value: 48765-2}
                        index: 30
                      display:
                        pattern: {type: String, value: Allergies and adverse reactions document}
                        index: 31
                  text:
                    pattern: {type: String, value: Secção alergias e reacções adversas}
                    index: 32
              focus: {index: 34}
              entry:
                type: Reference
                refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ListPTPS']
                index: 37
        sectionImmunizations:
          match: {id: sectionImmunizations}
          schema:
            index: 39
            elements:
              orderedBy: {index: 49}
              section: {index: 52}
              mode: {index: 48}
              title:
                pattern: {type: String, value: Histórico de vacinação}
                index: 41
              emptyReason: {index: 51}
              author: {index: 46}
              id:
                pattern: {type: Id, value: sectionImmunizations}
                index: 40
              code:
                type: CodeableConcept
                binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/apoio-ao-registo-clinico'}
                index: 42
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 43
                      code:
                        pattern: {type: Code, value: 11369-6}
                        index: 44
                      display:
                        pattern: {type: String, value: History of Immunization Narrative}
                        index: 45
              focus: {index: 47}
              entry:
                type: Reference
                refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ListPTPS']
                index: 50
        sectionPregnancy:
          match: {id: sectionPregnancy}
          schema:
            index: 53
            elements:
              orderedBy: {index: 64}
              section: {index: 67}
              mode: {index: 63}
              title:
                pattern: {type: String, value: Histórico obstétrico}
                index: 55
              emptyReason: {index: 66}
              author: {index: 61}
              id:
                pattern: {type: Id, value: sectionPregnancy}
                index: 54
              code:
                binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/apoio-ao-registo-clinico'}
                index: 56
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 57
                      code:
                        pattern: {type: Code, value: 10162-6}
                        index: 58
                      display:
                        pattern: {type: String, value: History of pregnancies Narrative}
                        index: 59
                  text:
                    pattern: {type: String, value: Histórico obstétrico}
                    index: 60
              focus: {index: 62}
              entry:
                type: Reference
                refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ListPTPS', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ObservationPregnancyPTPSCSTS']
                index: 65
        sectionSocialHistory:
          match: {id: sectionSocialHistory}
          schema:
            index: 68
            elements:
              orderedBy: {index: 78}
              section: {index: 81}
              mode: {index: 77}
              title:
                pattern: {type: String, value: Histórico social}
                index: 70
              emptyReason: {index: 80}
              author: {index: 75}
              id:
                pattern: {type: Id, value: sectionSocialHistory}
                index: 69
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 71
                      code:
                        pattern: {type: Code, value: 29762-2}
                        index: 72
                      display:
                        pattern: {type: String, value: Social history Narrative}
                        index: 73
                  text:
                    pattern: {type: String, value: Histórico social}
                    index: 74
              focus: {index: 76}
              entry:
                type: Reference
                refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ObservationSocialHabitsPTPSALU', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ObservationSocialHabitsPTPSDG', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ObservationSocialHabitsPTPSTBU']
                index: 79
  attester: {index: 14}
  type:
    index: 3
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            index: 4
          code:
            pattern: {type: Code, value: 60591-5}
            index: 5
          display:
            pattern: {type: String, value: Patient summary Document}
            index: 6
      text:
        pattern: {type: String, value: Resumo de saúde do utente}
        index: 7
  title:
    pattern: {type: String, value: Resumo de Saúde do Utente}
    index: 13
  author:
    type: Reference
    refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTPS', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPS', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTPS']
    index: 12
  contained: {index: 0}
  event:
    elements:
      code:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'}
                index: 20
              code:
                pattern: {type: Code, value: PCPR}
                index: 21
              display:
                pattern: {type: String, value: care provision}
                index: 22
          text:
            pattern: {type: String, value: Prestação de Cuidados}
            index: 23
  custodian:
    type: Reference
    refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTPS']
    index: 15
  status: {index: 2}
  identifier:
    elements:
      type:
        elements:
          coding:
            elements:
              id: {index: 1}
  relatesTo:
    elements:
      target:
        choices: [targetIdentifier, targetReference]
        index: 17
      targetIdentifier: {type: Identifier, choiceOf: target, index: 18}
      targetReference:
        type: Reference
        choiceOf: target
        refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/CompositionPTPS']
        index: 19
  subject:
    type: Reference
    refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PatientPTPS']
    index: 9
package_version: 1.0.1-draft
class: profile
kind: resource
url: https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/CompositionPTPS
base: https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/CompositionPTCore
version: null
required: [subject]