description: null package_name: Package.JSON derivation: constraint name: composition-discharge-summary-v1-5-0 type: Composition elements: encounter: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/encounter-discharge-summary'] index: 12 section: index: 19 slicing: rules: open discriminator: - {path: code.coding.code, type: value} min: null slices: sliceSectionInstrucoesPosAlta: match: code: coding: {code: 18776-5} schema: index: 75 elements: title: pattern: {type: String, value: Plan of care} index: 76 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 77 code: pattern: {type: Code, value: 18776-5} index: 78 display: pattern: {type: String, value: Plan of care} index: 79 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 80 section: index: 81 slicing: rules: open discriminator: - {path: code.coding.code, type: value} min: null slices: sliceSectionPropostaDeMonitorizacaoETratamento: match: code: coding: {code: PMT} schema: index: 82 elements: title: pattern: {type: String, value: Proposta de monitorização e tratamento} index: 83 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 84 code: pattern: {type: Code, value: PMT} index: 85 display: pattern: {type: String, value: Proposta de monitorização e tratamento} index: 86 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 87 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 88 sliceSectionOrientacaoAgendamento: match: code: coding: {code: ORI} schema: index: 89 elements: title: pattern: {type: String, value: Orientação/agendamentos} index: 90 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 91 code: pattern: {type: Code, value: ORI} index: 92 display: pattern: {type: String, value: Orientação/agendamentos} index: 93 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/appointment-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 94 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 95 sliceSectionMeiosComplementaresDeDiagnosticoMarcado: match: code: coding: {code: MCDTM} schema: index: 96 elements: title: pattern: {type: String, value: Meios complementares de diagnóstico marcados} index: 97 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 98 code: pattern: {type: Code, value: MCDTM} index: 99 display: pattern: {type: String, value: Meios complementares de diagnóstico marcados} index: 100 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/procedure-request-discharge-summary'] index: 101 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 102 sliceSectionDiagnosticosDeAdmissao: match: code: coding: {code: 42347-5} schema: index: 47 elements: title: pattern: {type: String, value: Admission diagnosis (narrative)} index: 48 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 49 code: pattern: {type: Code, value: 42347-5} index: 50 display: pattern: {type: String, value: Admission diagnosis (narrative)} index: 51 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/encounter-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 52 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 53 sliceSectionDiarios: match: code: coding: {code: 10187-3} schema: index: 164 elements: title: pattern: {type: String, value: Review of systems Narrative - Reporte} index: 165 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 166 code: pattern: {type: Code, value: 10187-3} index: 167 display: pattern: {type: String, value: Review of systems Narrative - Reporte} index: 168 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 169 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 170 sliceSectionAlergias: match: code: coding: {code: 48765-2} schema: index: 20 elements: title: pattern: {type: String, value: Allergies} index: 21 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 22 code: pattern: {type: Code, value: 48765-2} index: 23 display: pattern: {type: String, value: Allergies} index: 24 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/allergy-intolerance-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 25 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 26 sliceSectionHistoriaClinica: match: code: coding: {code: 10164-2} schema: index: 68 elements: title: pattern: {type: String, value: History of Present illness Narrative} index: 69 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/ce/valueset/document-sections'} index: 70 code: pattern: {type: Code, value: 10164-2} index: 71 display: pattern: {type: String, value: History of Present illness Narrative} index: 72 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 73 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 74 sliceSectionTerapeuticaNoAmbulatorio: match: code: coding: {code: 75311-1} schema: index: 40 elements: title: pattern: {type: String, value: Discharge medications Narrative} index: 41 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 42 code: pattern: {type: Code, value: 75311-1} index: 43 display: pattern: {type: String, value: Discharge medications Narrative} index: 44 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/medication-request-discharge-summary'] index: 45 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 46 sliceSectionDiagnosticosMedicosNaAlta: match: code: coding: {code: 78375-3} schema: index: 34 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 35 code: pattern: {type: Code, value: 78375-3} index: 36 display: pattern: {type: String, value: Discharge diagnosis Narrative} index: 37 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/encounter-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 38 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 39 sliceSectionClassificacaoDaFuncionalidade: match: code: coding: {code: 47420-5} schema: index: 103 elements: title: pattern: {type: String, value: Functional status assessment note} index: 104 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 105 code: pattern: {type: Code, value: 47420-5} index: 106 display: pattern: {type: String, value: Functional status assessment note} index: 107 section: index: 108 slicing: rules: open discriminator: - {path: code.coding.code, type: value} min: null slices: sliceSectionFocosDeDiagnosticoDeEnfermagem: match: code: coding: {code: FDE} schema: index: 109 elements: title: pattern: {type: String, value: Focos de diagnóstio de enfermagem} index: 110 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 111 code: pattern: {type: Code, value: FDE} index: 112 display: pattern: {type: String, value: Focos de diagnóstio de enfermagem} index: 113 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/condition-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 114 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 115 sliceSectionAtitudesTerapeuticas: match: code: coding: {code: ATI} schema: index: 116 elements: title: pattern: {type: String, value: Atitudes terapêuticas} index: 117 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 118 code: pattern: {type: Code, value: ATI} index: 119 display: pattern: {type: String, value: Atitudes terapêuticas} index: 120 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/procedure-discharge-summary'] index: 121 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 122 sliceSectionTerapeuticaEfetuada: match: code: coding: {code: 42346-7} schema: index: 54 elements: title: pattern: {type: String, value: Medications on admission (narrative)} index: 55 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 56 code: pattern: {type: Code, value: 42346-7} index: 57 display: pattern: {type: String, value: Medications on admission (narrative)} index: 58 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/medication-administration-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 59 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 60 sliceSectionHistoricoDeProcedimentos: match: code: coding: {code: 47519-4} schema: index: 123 elements: title: pattern: {type: String, value: History of Procedures Document} index: 124 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 125 code: pattern: {type: Code, value: 47519-4} index: 126 display: pattern: {type: String, value: History of Procedures Document} index: 127 section: index: 128 slicing: rules: open discriminator: - {path: code.coding.code, type: value} min: null slices: sliceSectionDispositivosImplantaveis: match: code: coding: {code: DIS} schema: index: 129 elements: title: pattern: {type: String, value: Dispositivos implantáveis} index: 130 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 131 code: pattern: {type: Code, value: DIS} index: 132 display: pattern: {type: String, value: Dispositivos implantáveis} index: 133 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/device-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 134 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 135 sliceSectionIntervencoesCirurgicas: match: code: coding: {code: INT} schema: index: 136 elements: title: pattern: {type: String, value: Intervenções cirúrgicas} index: 137 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 138 code: pattern: {type: Code, value: INT} index: 139 display: pattern: {type: String, value: Intervenções cirúrgicas} index: 140 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/procedure-discharge-summary'] index: 141 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 142 sliceSectionVentilacaoMecanica: match: code: coding: {code: VEN} schema: index: 143 elements: title: pattern: {type: String, value: Ventilação mecânica} index: 144 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 145 code: pattern: {type: Code, value: VEN} index: 146 display: pattern: {type: String, value: Ventilação mecânica} index: 147 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/procedure-discharge-summary'] index: 148 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 149 sliceSectionInfecaoNosocomial: match: code: coding: {code: INF} schema: index: 150 elements: title: pattern: {type: String, value: Infeção nosocomial} index: 151 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 152 code: pattern: {type: Code, value: INF} index: 153 display: pattern: {type: String, value: Infeção nosocomial} index: 154 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/procedure-discharge-summary'] index: 155 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 156 sliceSectionMeiosComplementaresDeDiagnosticosEfetuados: match: code: coding: {code: MCDTE} schema: index: 157 elements: title: pattern: {type: String, value: Meios complementares de diagnósticos efetuados} index: 158 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list'} index: 159 code: pattern: {type: Code, value: MCDTE} index: 160 display: pattern: {type: String, value: Meios complementares de diagnósticos efetuados} index: 161 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/procedure-request-discharge-summary'] index: 162 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 163 sliceSectionPlanoNutricional: match: code: coding: {code: 42344-2} schema: index: 61 elements: title: pattern: {type: String, value: Discharge diet (narrative)} index: 62 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 63 code: pattern: {type: Code, value: 42344-2} index: 64 display: pattern: {type: String, value: Discharge diet (narrative)} index: 65 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 66 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 67 sliceSectionIdentificadoresAdministrativos: match: code: coding: {code: 87504-7} schema: index: 171 elements: title: pattern: {type: String, value: Administrative information} index: 172 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 173 code: pattern: {type: Code, value: 87504-7} index: 174 display: pattern: {type: String, value: Administrative information} index: 175 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/encounter-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/list-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/patient-discharge-summary'] index: 176 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 177 sliceSectionEvolucaoNoInternamento: match: code: coding: {code: 8648-8} schema: index: 27 elements: title: pattern: {type: String, value: Hospital course Narrative} index: 28 code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 29 code: pattern: {type: Code, value: 8648-8} index: 30 display: pattern: {type: String, value: Hospital course Narrative} index: 31 entry: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/observation-discharge-summary'] index: 32 emptyReason: elements: coding: elements: system: pattern: {type: Uri, value: 'http://spms.min-saude.pt/valueset-list-empty-reason'} index: 33 attester: index: 14 elements: party: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/organization-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/patient-discharge-summary', 'http://spms.min-saude.pt/fhir/iop/StructureDefinition/practitioner-discharge-summary'] index: 15 required: [party] type: elements: coding: index: 7 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 8 code: pattern: {type: Code, value: 18842-5} index: 9 display: pattern: {type: String, value: Discharge summary} index: 10 required: [display, system, code] required: [coding] author: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/practitioner-discharge-summary'] index: 13 extension: index: 1 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: extension-composition-author: match: {url: null} schema: {type: Extension, url: h, index: 2} min: 1 event: index: 17 elements: detail: {index: 18} required: [detail] custodian: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/organization-discharge-summary'] index: 16 status: pattern: {type: Code, value: final} index: 6 id: {index: 0} identifier: index: 3 elements: system: {index: 4} value: {index: 5} required: [value, system] subject: type: Reference refers: ['http://spms.min-saude.pt/fhir/iop/StructureDefinition/patient-discharge-summary'] index: 11 package_version: 1.0.0 extensions: extension-composition-author: {url: h, min: 1, type: Extension, index: 2} class: profile kind: resource url: http://spms.min-saude.pt/fhir/iop/StructureDefinition/composition-discharge-summary/v1-5-0 base: http://hl7.org/fhir/StructureDefinition/Composition version: null required: [id, encounter, event, attester, identifier, custodian]