RegularMedications
type: Questionnaire
node role: treeRoot
id:
  v: RegularMedications
meta:
  profile:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render
    l: sdc-questionnaire-render
  profile:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular
    l: sdc-questionnaire-modular
  profile:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp
    l: sdc-questionnaire-pop-exp
  profile:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template
    l: sdc-questionnaire-extr-template
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: Questionnaire RegularMedications Profiles: Advanced Rendering Questionnaire, SDC Modular Questionnaire, Populatable Questionnaire - Expression, Extractable Questionnaire - Template Structure LinkID Text Cardinality Type Flags Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> RegularMedications Questionnaire http://www.health.gov.au/assessments/mbs/715/RegularMedications#0.4.0 #xD; 7dfe7c6a-ca7f-4ddf-9241-a7b918a9695a Regular medications 0..1 group #xD; CD-in-progress-23 In progress 0..1 display #xD; CD-complete-23 Complete 0..1 display #xD; CD-attention-23 Attention required 0..1 display #xD; regularmedications-instruction Check medications are still required, appropriate dose, understanding of medication and adherence 0..1 display #xD; regularmedications-summary Medication summary 0..1 group #xD; regularmedications-summary-current Current medications 0..* group #xD; medicationStatementId null 0..1 string #xD; regularmedications-summary-current-medication Medication 0..1 open-choice Value Set: Smart Health Checks Medicine Products #xD; regularmedications-summary-current-status Status 0..1 choice Value Set: Medication Statement Status Limited #xD; regularmedications-summary-current-status-hidden null 0..1 choice Value Set: Medication Statement Status Limited #xD; regularmedications-summary-current-dosage Dosage 0..1 text #xD; regularmedications-summary-current-dosage-hidden null 0..1 text #xD; regularmedications-summary-current-reasoncode Clinical indication 0..* open-choice Value Set: Medication Reason Taken #xD; regularmedications-summary-current-comment Comment 0..1 text #xD; regularmedications-summary-current-comment-hidden null 0..1 text #xD; regularmedications-summary-new New medications 0..* group #xD; regularmedications-summary-new-medication Medication 0..1 open-choice Value Set: Smart Health Checks Medicine Products #xD; regularmedications-summary-new-dosage Dosage 0..1 text #xD; regularmedicati…
contained: ValueSet
  id:
    v: YesNo
  url:
    v: https://smartforms.csiro.au/ig/ValueSet/YesNo
    l: YesNo
  name:
    v: YesNo
  title:
    v: Yes/No
  status:
    v: draft
  experimental:
    v: false
  description:
    v: Concepts for Yes and No
  compose:
    include:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      version:
        v: 2.0.0
  expansion:
    timestamp:
      v: 2025-09-18T16:28:54+10:00
    total:
      v: 2
    offset:
      v: 0
    parameter:
      name:
        v: count
      value: Integer
        v: 1000
    parameter:
      name:
        v: offset
      value: Integer
        v: 0
    parameter:
      name:
        v: excludeNested
      value: Boolean
        v: false
    parameter:
      name:
        v: used-codesystem
      value: Uri
        v: http://terminology.hl7.org/CodeSystem/v2-0532|2.0.0
        l: http://terminology.hl7.org/CodeSystem/v2-0532
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      code:
        v: Y
      display:
        v: Yes
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      code:
        v: N
      display:
        v: No
contained: ValueSet
  id:
    v: smart-health-checks-medicine-products
  url:
    v: https://smartforms.csiro.au/ig/ValueSet/smart-health-checks-medicine-products
    l: smart-health-checks-medicine-products
  name:
    v: SmartHealthChecksMedicineProducts
  title:
    v: Smart Health Checks Medicine Products
  status:
    v: draft
  experimental:
    v: false
  description:
    v: The Smart Health Checks Medicine Products value set includes Australian Medicines Terminology (AMT) product concepts that may be used for the identification of a medicine with form, ingredient and unit of measure details.
  compose:
    include:
      system:
        v: http://snomed.info/sct
        l: sct
      version:
        v: http://snomed.info/sct/32506021000036107
contained: ValueSet
  id:
    v: medication-reason-taken-1
  meta:
    profile:
      v: http://hl7.org/fhir/StructureDefinition/shareablevalueset
      l: shareablevalueset
    profile:
      v: https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4
      l: composed-value-set-4
  url:
    v: https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1
    l: medication-reason-taken-1
  identifier:
    system:
      v: urn:ietf:rfc:3986
      l: 3986
    value:
      v: urn:oid:1.2.36.1.2001.1004.201.10048
  version:
    v: 1.1.0
  name:
    v: MedicationReasonTaken
  title:
    v: Medication Reason Taken
  status:
    v: active
  experimental:
    v: false
  date:
    v: 2020-07-31
  publisher:
    v: Australian Digital Health Agency
  contact:
    telecom:
      system:
        v: email
  description:
    v: The Medication Reason Taken value set includes values that identify a reason why a medication has been or is being taken.
  copyright:
    v: Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. The rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. All copies of this resource must include this copyright statement and all information contained in this statement.
  compose:
    include:
      system:
        v: http://snomed.info/sct
        l: sct
contained: MedicationStatement
  id:
    v: MedicationStatementTemplate
  status:
    v: active
  medication: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
        l: sdc-questionnaire-templateExtractContext
      value: String
        v: item.where(linkId='regularmedications-summary-new-medication').answer.value
    coding:
      extension:
        value: String
    text:
      extension:
        value: String
  subject:
    reference:
      extension:
        value: String
  date asserted:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: now()
  reason code:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
        l: sdc-questionnaire-templateExtractContext
      value: String
        v: item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(Coding)
    coding:
      extension:
        value: String
  reason code:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
        l: sdc-questionnaire-templateExtractContext
      value: String
        v: item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(string)
contained: Parameters

v: Y

v: Yes

v: N

v: No

v: constraint

v: =

v: ^ 929360081000036101|Medicinal product pack reference set| OR ^ 929360071000036103|Medicinal product unit of use reference set| OR ^ 929360041000036105|Trade product pack reference set| OR ^ 929360031000036100|Trade product unit of use reference set| OR ^ 929360051000036108|Containered trade product pack reference set|

v: constraint

v: =

v: ^32570581000036105|Problem/Diagnosis reference set| OR ^1184831000168105|Drug prophylaxis reference set| OR <<399097000|Administration of anaesthesia| OR 169443000|Preventive procedure|

String
v: ofType(Coding)

String
v: ofType(string)

String
v: %resource.subject.reference

String
v: $this

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    l: sdc-questionnaire-templateExtractValue
  value: String
    v: $this

text:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: item.where(linkId='regularmedications-summary-new-comment').answer.value

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
    l: sdc-questionnaire-templateExtractContext
  value: String
    v: item.where(linkId='regularmedications-summary-new-dosage').answer.value
text:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: $this

Parameters
id:
  v: MedicationStatementPatchTemplate
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      v: MedicationStatement
  part:
    name:
      v: name
    value: String
      v: status
  part:
    name:
      v: value
    value: Code
      extension:
        value: String
  part:
    name:
      v: pathLabel
    value: String
      v: Status
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      extension:
        value: String
  part:
    name:
      v: name
    value: String
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: String
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: Dosage
  part:
    name:
      v: pathLabel
    value: String
      v: Dosage
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      extension:
        value: String
  part:
    name:
      v: name
    value: String
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: Markdown
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: Annotation
  part:
    name:
      v: pathLabel
    value: String
      v: Comment

String
v: item.where(linkId='regularmedications-summary-current-status').answer.value.code.first()

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.exists(), 'MedicationStatement.dosage[0]', 'MedicationStatement')

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.exists(), 'text', 'dosage')

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.exists(), 'value')

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.exists(), item.where(linkId='regularmedications-summary-current-dosage').answer.value.first())

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.empty(), 'value')

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  l: sdc-questionnaire-templateExtractValue
value: String
  v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.empty(), item.where(linkId='regularmedications-summary-current-dosage').answer.value.first())

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.exists(), 'MedicationStatement.note[0]', 'MedicationStatement')

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.exists(), 'text', 'note')

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.exists(), 'value')

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.exists(), item.where(linkId='regularmedications-summary-current-comment').answer.value.first())

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.empty(), 'value')

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  l: sdc-questionnaire-templateExtractValue
value: String
  v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.empty(), item.where(linkId='regularmedications-summary-current-comment').answer.value.first())

ValueSet
id:
  v: MedicationStatementStatusLimited
url:
  v: https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited
  l: MedicationStatementStatusLimited
name:
  v: MedicationStatementStatusLimited
title:
  v: Medication Statement Status Limited
status:
  v: draft
experimental:
  v: false
description:
  v: This value set includes the minimal set of codes to represent the status of a medication statement (i.e., active, completed, stopped and on-hold).
compose:
  include:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    concept:
      code:
        v: active
    concept:
      code:
        v: completed
    concept:
      code:
        v: stopped
    concept:
      code:
        v: on-hold
expansion:
  timestamp:
    v: 2025-08-25T15:53:32+10:00
  total:
    v: 4
  offset:
    v: 0
  parameter:
    name:
      v: count
    value: Integer
      v: 1000
  parameter:
    name:
      v: offset
    value: Integer
      v: 0
  parameter:
    name:
      v: excludeNested
    value: Boolean
      v: false
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status|4.0.1
      l: http://hl7.org/fhir/CodeSystem/medication-statement-status
  contains:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    code:
      v: active
    display:
      v: Active
  contains:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    code:
      v: completed
    display:
      v: Completed
  contains:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    code:
      v: stopped
    display:
      v: Stopped
  contains:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    code:
      v: on-hold
    display:
      v: On Hold

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation
  l: sdc-questionnaire-assemble-expectation
value: Code
  v: assemble-child

extension:
  url:
    v: name
    l: name
  value: Coding
    system:
      v: http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext
      l: launchContext
    code:
      v: patient
extension:
  url:
    v: type
    l: type
  value: Code
    v: Patient
extension:
  url:
    v: description
    l: description
  value: String
    v: The patient that is to be used to pre-populate the form
url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
  l: sdc-questionnaire-launchContext

extension:
  url:
    v: name
    l: name
  value: Coding
    system:
      v: http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext
      l: launchContext
    code:
      v: user
extension:
  url:
    v: type
    l: type
  value: Code
    v: Practitioner
extension:
  url:
    v: description
    l: description
  value: String
    v: The practitioner user that is to be used to pre-populate the form
url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
  l: sdc-questionnaire-launchContext

extension:
  url:
    v: name
    l: name
  value: Coding
    system:
      v: http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext
      l: launchContext
    code:
      v: encounter
extension:
  url:
    v: type
    l: type
  value: Code
    v: Encounter
extension:
  url:
    v: description
    l: description
  value: String
    v: The encounter that is to be used to pre-populate the form
url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
  l: sdc-questionnaire-launchContext

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: MedicationStatement
  language:
    v: application/x-fhir-query
  expression:
    v: MedicationStatement?patient={{%patient.id}}&status=active&_include=MedicationStatement:medication

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: medicationsFromContained
  language:
    v: text/fhirpath
  expression:
    v: %MedicationStatement.entry.resource.contained.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('#', '')))

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: medicationsFromRef
  language:
    v: text/fhirpath
  expression:
    v: %MedicationStatement.entry.resource.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('Medication/', '')))

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext
  l: sdc-questionnaire-assembleContext
value: String
  v: age

url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]
  l: extension-Questionnaire.versionAlgorithm[x]
value: Coding
  system:
    v: http://hl7.org/fhir/version-algorithm
    l: version-algorithm
  code:
    v: semver

v: 0.4.0

v: RegularMedications

v: Aboriginal and Torres Strait Islander Health Check - Regular Medications

v: draft

v: false

v: Patient

v: 2025-03-14

v: AEHRC CSIRO

name:
  v: AEHRC CSIRO
telecom:
  system:
    v: url
  value:
    v: https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2

coding:
  system:
    v: urn:iso:std:iso:3166
    l: 3166
  code:
    v: AU
  display:
    v: Australia

v: Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved. This content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. See https://creativecommons.org/licenses/by-sa/4.0/.

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
    l: sdc-questionnaire-enableWhenExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %age.exists()
text:
  v: Regular medications
type:
  v: group
repeats:
  v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-23').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-23').answer.value.empty()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-in-progress-23
  text:
    v: In progress
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: <img width='24' height='24' src='[binary]' style="align-self: center;"/>
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-23').answer.value = 'Complete'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-complete-23
  text:
    v: Complete
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: <img width='24' height='24' src='[binary]' style="align-self: center;"/>
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-23').answer.value = 'Attention required'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-attention-23
  text:
    v: Attention required
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: <img width='24' height='24' src='[binary]' style="align-self: center;"/>
  type:
    v: display
item:
  link id:
    v: regularmedications-instruction
  text:
    v: Check medications are still required, appropriate dose, understanding of medication and adherence
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: Check medications are still required, appropriate dose, understanding of medication and adherence
  type:
    v: display
item:
  link id:
    v: regularmedications-summary
  text:
    v: Medication summary
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: Medication summary This section includes a list of existing items from the patient record. Update these items here or update the patient record and repopulate the form. Add new items at the bottom.
  type:
    v: group
  repeats:
    v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
        l: sdc-questionnaire-itemPopulationContext
      value: Expression
    extension:
      extension:
        value: Reference
      extension:
        value: String
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
        l: sdc-questionnaire-templateExtract
    extension:
      url:
        v: https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton
        l: GroupHideAddItemButton
      value: Boolean
        v: true
    link id:
      v: regularmedications-summary-current
    text:
      v: Current medications
      extension:
        value: Boolean
    type:
      v: group
    repeats:
      v: true
    item:
      extension:
        value: Boolean
      extension:
        value: Expression
      link id:
        v: medicationStatementId
      type:
        v: string
    item:
      extension:
        value: CodeableConcept
      extension:
        value: Expression
      link id:
        v: regularmedications-summary-current-medication
      text:
        v: Medication
      type:
        v: open-choice
      repeats:
        v: false
      read only:
        v: true
      answer value set:
        v: #smart-health-checks-medicine-products
        l: smart-health-checks-medicine-products
    item:
      extension:
        value: Expression
      link id:
        v: regularmedications-summary-current-status
      text:
        v: Status
      type:
        v: choice
      repeats:
        v: false
      answer value set:
        v: #MedicationStatementStatusLimited
        l: MedicationStatementStatusLimited
    item:
      extension:
        value: Expression
      extension:
        value: Boolean
      link id:
        v: regularmedications-summary-current-status-hidden
      type:
        v: choice

v: context-display

v: context-display

v: context-display

v: MedicationStatementRepeat

v: text/fhirpath

v: %MedicationStatement.entry.resource.ofType(MedicationStatement)

v: template
l: template

Reference
l: MedicationStatementPatchTemplate
reference:
  v: #MedicationStatementPatchTemplate

String
v: 'MedicationStatement/' + item.where(linkId='medicationStatementId').answer.value

Boolean
v: true

Boolean
v: true

Expression
language:
  v: text/fhirpath
expression:
  v: %MedicationStatementRepeat.id

CodeableConcept
coding:
  system:
    v: http://hl7.org/fhir/questionnaire-item-control
    l: questionnaire-item-control
  code:
    v: autocomplete

Expression
language:
  v: text/fhirpath
expression:
  v: iif(%MedicationStatementRepeat.medication.reference.replace('#', '') in %medicationsFromContained.id, %medicationsFromContained.where(id = %MedicationStatementRepeat.medication.reference.replace('#', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()), iif(%MedicationStatementRepeat.medication.reference.replace('Medication/', '') in %medicationsFromRef.id , %medicationsFromRef.where(id = %MedicationStatementRepeat.medication.reference.replace('Medication/', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()) ,%MedicationStatementRepeat.medication.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())))

Expression
language:
  v: text/fhirpath
expression:
  v: %MedicationStatementRepeat.status

Expression
language:
  v: text/fhirpath
expression:
  v: %MedicationStatementRepeat.status

Boolean
v: true

v: false

v: #MedicationStatementStatusLimited
l: MedicationStatementStatusLimited

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
    l: sdc-questionnaire-initialExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %MedicationStatementRepeat.dosage.text
link id:
  v: regularmedications-summary-current-dosage
text:
  v: Dosage
type:
  v: text
repeats:
  v: false

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
    l: sdc-questionnaire-initialExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %MedicationStatementRepeat.dosage.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    l: questionnaire-hidden
  value: Boolean
    v: true
link id:
  v: regularmedications-summary-current-dosage-hidden
type:
  v: text
repeats:
  v: false

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: autocomplete
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
    l: sdc-questionnaire-initialExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %MedicationStatementRepeat.reasonCode.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())
link id:
  v: regularmedications-summary-current-reasoncode
text:
  v: Clinical indication
type:
  v: open-choice
repeats:
  v: true
read only:
  v: true
answer value set:
  v: #medication-reason-taken-1
  l: medication-reason-taken-1

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
    l: sdc-questionnaire-initialExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %MedicationStatementRepeat.note.text
link id:
  v: regularmedications-summary-current-comment
text:
  v: Comment
type:
  v: text
repeats:
  v: false

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
    l: sdc-questionnaire-initialExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %MedicationStatementRepeat.note.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    l: questionnaire-hidden
  value: Boolean
    v: true
link id:
  v: regularmedications-summary-current-comment-hidden
type:
  v: text
repeats:
  v: false

extension:
  extension:
    url:
      v: template
      l: template
    value: Reference
      l: MedicationStatementTemplate
      reference:
        v: #MedicationStatementTemplate
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
    l: sdc-questionnaire-templateExtract
link id:
  v: regularmedications-summary-new
text:
  v: New medications
  extension:
    url:
      v: https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden
      l: QuestionnaireItemTextHidden
    value: Boolean
      v: true
type:
  v: group
repeats:
  v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: regularmedications-summary-new-medication
  text:
    v: Medication
  type:
    v: open-choice
  repeats:
    v: false
  answer value set:
    v: #smart-health-checks-medicine-products
    l: smart-health-checks-medicine-products
item:
  link id:
    v: regularmedications-summary-new-dosage
  text:
    v: Dosage
  type:
    v: text
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: regularmedications-summary-new-reasoncode
  text:
    v: Clinical indication
  type:
    v: open-choice
  repeats:
    v: true
  answer value set:
    v: #medication-reason-taken-1
    l: medication-reason-taken-1
item:
  link id:
    v: regularmedications-summary-new-comment
  text:
    v: Comment
  type:
    v: text
  repeats:
    v: false

v: autocomplete

v: autocomplete

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
    l: sdc-questionnaire-enableWhenExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %age <= 12
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
    l: questionnaire-choiceOrientation
  value: Code
    v: horizontal
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText
    l: sdc-questionnaire-shortText
  value: String
    v: Does your child take any regular medications?
text:
  v: Does your child take any regular medications (prescribed, over-the-counter, traditional, complementary and alternative)?
type:
  v: choice
repeats:
  v: false
answer value set:
  v: #YesNo
  l: YesNo

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
    l: sdc-questionnaire-enableWhenExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %age > 12
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
    l: questionnaire-choiceOrientation
  value: Code
    v: horizontal
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText
    l: sdc-questionnaire-shortText
  value: String
    v: Do you take any regular medications?
text:
  v: Do you take any regular medications (prescribed, over-the-counter, traditional, complementary and alternative)?
type:
  v: choice
repeats:
  v: false
answer value set:
  v: #YesNo
  l: YesNo

text:
  v: Check the health record is up to date
type:
  v: boolean
repeats:
  v: false

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText
    l: sdc-questionnaire-shortText
  value: String
    v: Understanding and adherence checked
text:
  v: Check medication understanding and adherence with patient
type:
  v: boolean
enable when:
  operator:
    v: =
  answer: Coding
    system:
      v: http://terminology.hl7.org/CodeSystem/v2-0136
      l: v2-0136
    code:
      v: Y
enable when:
  operator:
    v: =
  answer: Coding
    system:
      v: http://terminology.hl7.org/CodeSystem/v2-0136
      l: v2-0136
    code:
      v: Y
enable behavior:
  v: any
repeats:
  v: false

text:
  v: Health priorities, actions and follow-up
type:
  v: text
repeats:
  v: false

link id:
  v: regularmedications-section-end-divider
text:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/rendering-style
      l: rendering-style
    value: String
      v: border-top: 1px solid #ccc;
type:
  v: display

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
link id:
  v: MarkComplete-23
text:
  v: Section completion status
type:
  v: choice
repeats:
  v: false
answer option:
  value: String
    v: Complete
answer option:
  value: String
    v: In progress
answer option:
  value: String
    v: Attention required