{
  "resourceType": "StructureDefinition",
  "id": "medication-listPublishedDate",
  "url": "http://hl7.org/fhir/StructureDefinition/medication-listPublishedDate",
  "version": "4.0",
  "name": "medication-listPublishedDate",
  "title": "Medication Statement List Published Date",
  "status": "draft",
  "publisher": "Orion Health",
  "description": "Indicates the publish date of the list from where this MedicationStatement was sourced",
  "purpose": "This extension allows for the publish date of the list from where this MedicationStatement was sourced to be specified. This is used in conjunction with the medication-listId and medication-listDescription extensions",
  "fhirVersion": "4.0",
  "kind": "complex-type",
  "abstract": false,
  "type": "Extension",
  "snapshot": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "max": "1",
        "base": {
          "path": "Extension",
          "max": "1"
        }
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "base": {
          "path": "Extension.url"
        },
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/medication-listPublishedDate"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Indicates the publish date of the list from where this MedicationStatement was sourced",
        "definition": "Set the publish date of the list",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "max": "1"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/medication-listPublishedDate"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Indicates the publish date of the list from where this MedicationStatement was sourced",
        "definition": "Set the publish date of the list",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      }
    ]
  }
}