PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.emr@0.2.0
    https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/ObservationCSDMS
description: 此Profiles繼承於臺灣核心-檢驗檢查(TW Core Observation) ,並進一步用於描述出院病摘之癌症期別  [[*FMM1*](http://build.fhir.org/versions.html#maturity)]
package_name: tw.gov.mohw.emr
derivation: constraint
name: DischargeMedicalSummaryObservationCancerStage
type: Observation
elements:
  status:
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 0
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 22037-6, system: 'http://loinc.org', display: Staging Cancer Narrative}
    index: 1
    elements:
      coding:
        index: 2
        elements:
          system: {index: 3}
          code: {index: 4}
        required: [system, code]
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PatientDMS']
    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: 住院時所觀察到的癌症期別描述。[應填入至出院病摘癌症期別 Cancer Staging]
            choices: [valueString]
            _required: true
            index: 10
          min: 1
  valueString:
    type: string
    short: 住院時所觀察到的癌症期別描述。[應填入至出院病摘癌症期別 Cancer Staging]
    choiceOf: value
    index: 11
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, short: '住院時所觀察到的癌症期別描述。[應填入至出院病摘癌症期別 Cancer Staging]', 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/ObservationCSDMS
base: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Observationtwcore
version: 0.2.0
required: [valueString, value]