{
  "resourceType": "StructureDefinition",
  "id": "ocp-programavailability",
  "language": "US-en",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"> \nThe FHIR STU3 (Release 3) Omnibus Care Plan (OCP) Program Availability extension profile uses FHIR resources and describes minimum expectations for the Program resource to record, search and fetch basic program availability information about an individual patient. </div>"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/ocp-programavailability",
  "version": "1.0",
  "name": "OCP Program Availability Extension",
  "title": "OCP Program Availability Extension",
  "status": "draft",
  "publisher": "SAMHSA",
  "contact": [
    {
      "name": "Neelima Chennamaraja, Ioana Singureanu",
      "telecom": [
        {
          "system": "url",
          "value": "www.eversolve.com",
          "period": {
            "start": "1999-06-15"
          }
        },
        {
          "system": "email",
          "value": "neelima@eversolve.com",
          "use": "work"
        },
        {
          "system": "email",
          "value": "ioana@eversolve.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Captures the information of the start date and end date of the program availability for enrollment.",
  "jurisdiction": [
    {
      "coding": [
        {
          "code": "US",
          "display": "US-Realm"
        }
      ]
    }
  ],
  "purpose": "The purpose of this program availability extension field is to capture the start date, and end date of the program enrollment.",
  "copyright": "+Copyright (c) 2017 SAMHSA. All Rights Reserved.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "ocp-program"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "OCP Program Availability Extension",
        "definition": "This extension captures Start date and End date when program is available for enrollment.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Extension.extension:startDate",
        "path": "Extension.extension",
        "sliceName": "startDate",
        "label": "Start Date",
        "short": "Program start date",
        "definition": "This extension captures the Start date when program is available for enrollment.\r\n\r\nMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Extension.extension:startDate.url",
        "path": "Extension.extension.url",
        "fixedUri": "startDate"
      },
      {
        "id": "Extension.extension:startDate.value[x]:valueDate",
        "path": "Extension.extension.valueDate",
        "sliceName": "valueDate",
        "min": 1,
        "type": [
          {
            "code": "date"
          }
        ],
        "mustSupport": false
      },
      {
        "id": "Extension.extension:endDate",
        "path": "Extension.extension",
        "sliceName": "endDate",
        "label": "End Date",
        "short": "Program end date",
        "definition": "This extension captures End date when program is planned to end (future date) or ended/expired (past date).\r\nMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "max": "1"
      },
      {
        "id": "Extension.extension:endDate.url",
        "path": "Extension.extension.url",
        "fixedUri": "endDate"
      },
      {
        "id": "Extension.extension:endDate.value[x]:valueDate",
        "path": "Extension.extension.valueDate",
        "sliceName": "valueDate",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/ocp-programavailability"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "max": "0"
      }
    ]
  }
}