PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@1.0.1
    https://fhir.nhs.wales/StructureDefinition/LogicalModel-DataStandardsWales-MedicationList
{
  "description": null,
  "_filename": "LogicalModel-DataStandardsWales-MedicationList.json",
  "package_name": "fhir.r4.wales.stu1",
  "date": null,
  "derivation": "specialization",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "LogicalModelDataStandardsWalesMedicationList",
  "abstract": false,
  "type": "https://fhir.nhs.wales/StructureDefinition/LogicalModel-DataStandardsWales-MedicationList",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.1",
  "status": "draft",
  "id": "726d3a7d-f0ca-4349-9d98-582b31fec2d0",
  "kind": "logical",
  "url": "https://fhir.nhs.wales/StructureDefinition/LogicalModel-DataStandardsWales-MedicationList",
  "version": null,
  "differential": {
    "element": [ {
      "id": "LogicalModel-DataStandardsWales-MedicationList",
      "max": "*",
      "min": 0,
      "path": "LogicalModel-DataStandardsWales-MedicationList",
      "type": [ {
        "code": "Element"
      } ]
    }, {
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList",
      "max": "*",
      "min": 0,
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList",
      "type": [ {
        "code": "BackboneElement"
      } ]
    }, {
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.status",
      "max": "1",
      "min": 1,
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.status",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/code" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-status"
      },
      "fixedCode": "current"
    }, {
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.mode",
      "fixedCode": "snapshot",
      "min": 1,
      "definition": "This list was prepared as a snapshot. It should not be assumed to be current.",
      "short": "Snapshot List",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/code" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-mode"
      },
      "max": "1",
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.mode",
      "comment": "'snapshot' definition: This list was prepared as a snapshot. It should not be assumed to be current. \r\nvs\r\n'working' definition: This list is the master list, maintained in an ongoing fashion with regular updates as the real world list it is tracking changes."
    }, {
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.code",
      "max": "1",
      "min": 1,
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.code",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/code" ]
      } ],
      "label": "R#1.4",
      "comment": "Could also be a SNOMED code - see example in FHRI specification https://www.hl7.org/fhir/list-example-medlist.xml.html",
      "fixedCode": "medications"
    }, {
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.subject",
      "max": "1",
      "min": 1,
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient" ]
      } ],
      "definition": "The patient is reference as the list subject, as well as being referenced in each MedicationStatement"
    }, {
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.encounter",
      "max": "1",
      "min": 1,
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.encounter",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Encounter" ]
      } ],
      "definition": "Context in which list created"
    }, {
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.date",
      "max": "1",
      "min": 1,
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.date",
      "type": [ {
        "code": "dateTime",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/dateTime" ]
      } ],
      "definition": "When the list was prepared"
    }, {
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.extension-Organization",
      "max": "*",
      "min": 0,
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.extension-Organization",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ]
      } ],
      "comment": "this might be captured as part of the Encounter reference?",
      "definition": "The responsible organization"
    }, {
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.entry",
      "max": "*",
      "min": 1,
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.entry",
      "type": [ {
        "code": "BackboneElement"
      } ]
    }, {
      "id": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.entry.Medication",
      "max": "1",
      "min": 1,
      "path": "LogicalModel-DataStandardsWales-MedicationList.MedicationList.entry.Medication",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/MedicationStatement" ]
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element"
}