PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar@1.0.0
    http://ihis.sg/StructureDefinition/ClinicalImpression-pophealth
description: null
package_name: synapxe.hsar
derivation: constraint
name: profile-Archetype-put-archetype
type: ClinicalImpression
elements:
  description: {index: 12}
  date:
    short: 'Sample Value: "2022-06-01T23:59:59+08:00"'
    constraint:
      submission-date-validation: {human: The submission date of archetype should not be later than the current date, severity: error, expression: $this.convertsToDate() = false or $this.toDate() <= today()}
    index: 26
  investigation: {index: 30}
  protocol: {index: 31}
  assessor: {index: 27}
  supportingInfo: {index: 46}
  encounter: {index: 23}
  problem: {index: 29}
  statusReason: {index: 3}
  note: {index: 47}
  summary: {index: 32}
  extension:
    type: Extension
    url: http://ihis.sg/extension/assessor-organization
    index: 0
    slicing:
      slices:
        extensionArchetypeAssessorOrganization:
          match: {}
          schema: {type: Extension, url: 'http://ihis.sg/extension/assessor-organization', index: 0}
  prognosisCodeableConcept: {index: 44}
  status:
    short: fixed value 'completed'
    pattern: {type: Code, value: completed}
    index: 2
  effective:
    choices: []
    index: 25
  previous: {index: 28}
  code:
    binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/hsg-clinical-impression-code'}
    index: 4
    elements:
      coding:
        index: 5
        elements:
          system:
            pattern: {type: Uri, value: 'http://ihis.sg/ValueSet/hsg-clinical-impression-code'}
            index: 6
          version: {index: 7}
          code: {short: 'Fixed value: ''archetype''', index: 8}
          display: {short: Fixed Value 'Archetype', index: 9}
          userSelected: {index: 10}
        required: [system, code]
      text: {index: 11}
    required: [coding]
  identifier: {index: 1}
  finding:
    index: 33
    elements:
      itemCodeableConcept:
        binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/hsg-archetype'}
        index: 34
        elements:
          coding:
            index: 35
            elements:
              system:
                pattern: {type: Uri, value: 'http://ihis.sg/ValueSet/hsg-archetype'}
                index: 36
              version: {index: 37}
              code: {short: 'Sample Value : "a1"', index: 38}
              display: {short: 'Sample Value: "Well"', index: 39}
              userSelected: {index: 40}
            required: [system, code]
          text: {index: 41}
        required: [coding]
      itemReference: {index: 42}
      basis: {index: 43}
    required: [itemCodeableConcept]
  prognosisReference: {index: 45}
  subject:
    elements:
      reference: {short: will return by get-archetype, index: 13}
      type:
        short: 'Fixed Value : "Patient"'
        pattern: {type: Uri, value: Patient}
        index: 14
      identifier:
        index: 15
        elements:
          use: {index: 16}
          type: {index: 17}
          system:
            pattern: {type: Uri, value: 'http://ihis.sg/identifier/nric'}
            index: 18
          value:
            short: nric
            constraint:
              empty-value-validation: {human: Patient identifier value should not be empty, severity: error, expression: $this.length() > 0}
            index: 19
          period: {index: 20}
          assigner: {index: 21}
        required: [value, system]
      display: {index: 22}
    required: [identifier, type]
package_version: 1.0.0
extensions:
  extensionArchetypeAssessorOrganization: {url: 'http://ihis.sg/extension/assessor-organization', type: Extension, index: 0}
class: profile
kind: resource
url: http://ihis.sg/StructureDefinition/ClinicalImpression-pophealth
base: http://hl7.org/fhir/StructureDefinition/ClinicalImpression
version: 0.1.0
required: [finding, date, code]