description: 此Profiles繼承於臺灣核心-檢驗檢查(TW Core Observation) ,並進一步用於描述出院病摘之病史 [[*FMM1*](http://build.fhir.org/versions.html#maturity)] package_name: tw.gov.mohw.emr derivation: constraint name: DischargeMedicalSummaryObservationMedicalHistory type: Observation elements: status: pattern: {type: Code, value: final} index: 0 code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 10164-2, system: 'http://loinc.org', display: History of Present illness Narrative} index: 1 elements: coding: index: 2 elements: system: {index: 3} code: {index: 4} required: [system, code] required: [coding] subject: {mustSupport: true, index: 5} encounter: type: Reference mustSupport: true refers: ['https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/EncounterDMS'] index: 6 value: choices: [] index: 8 slicing: rules: open discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: short: 住院前觀察到的病史。[應填入至出院病摘病史Present Illness] choices: [valueString] _required: true index: 10 min: 1 valueString: type: string short: 住院前觀察到的病史。[應填入至出院病摘病史Present Illness] choiceOf: value index: 11 slicing: slices: valueString: match: {} schema: {type: string, short: '住院前觀察到的病史。[應填入至出院病摘病史Present Illness]', choiceOf: value, _required: true, index: 11} min: 1 package_version: 0.2.0 class: profile kind: resource url: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/ObservationDMSMedicalHistory base: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Observationtwcore version: 0.2.0 required: [valueString, value]