PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.test@1.0.0
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationList
description: null
package_name: fhir.r4.wales.test
derivation: constraint
name: DataStandardsWalesMedicationList
type: List
elements:
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '933361000000108', system: 'http://snomed.info/sct', display: Medications and medical devices}
    type: CodeableConcept
    index: 0
  subject:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient']
    index: 1
  encounter:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Encounter']
    index: 2
  source:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Device', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole']
    index: 3
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 5
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-RelatedPerson']
        index: 6
      authorString: {type: string, choiceOf: author, index: 7}
  entry:
    mustSupport: true
    index: 8
    elements:
      item:
        type: Reference
        refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationStatement']
        index: 9
package_version: 1.0.0
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationList
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-List
version: 1.1.1
required: [code, subject]