{
  "resourceType": "StructureDefinition",
  "id": "ocp-programtype",
  "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 Type extension profile uses FHIR resources and describes minimum expectations for the Program resource to record, search and fetch basic program type information about an individual patient. </div>"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/ocp-programtype",
  "version": "1.0",
  "name": "OCP Program Type Extension",
  "title": "OCP Program Type 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 information about Treatment, Recovery, Long Term Care, etc (this may depend on specific implementation and domain)",
  "jurisdiction": [
    {
      "coding": [
        {
          "code": "US",
          "display": "US-Realm"
        }
      ]
    }
  ],
  "purpose": "The purpose of this program type extension field is to indicate the treatment, recovery, long term care information.",
  "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 Type Extension",
        "definition": "This extension captures information about Treatment, Recovery, Long Term Care, etc(this may depend on specific implementation and domain).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Extension.extension:type",
        "path": "Extension.extension",
        "sliceName": "type",
        "label": "Program Type",
        "short": "Type of the program",
        "min": 1
      },
      {
        "id": "Extension.extension:type.url",
        "path": "Extension.extension.url",
        "fixedUri": "type"
      },
      {
        "id": "Extension.extension:type.value[x]:valueCodeableConcept",
        "path": "Extension.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/ocp-programtype"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "max": "0"
      }
    ]
  }
}