{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ReferralRequestMethod-1",
  "version": "1.0.0",
  "name": "Extension-CareConnect-ReferralRequestMethod-1",
  "status": "draft",
  "date": "2019-07-17",
  "publisher": "HL7 UK",
  "contact": [
    {
      "name": "INTEROPen",
      "telecom": [
        {
          "system": "email",
          "value": "admin@interopen.org",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This extension is constrained to represent the method used to send or receive a Referral Request.",
  "purpose": "CURATED BY INTEROPen see: http://www.interopen.org/careconnect-curation-methodology/",
  "copyright": "Copyright © 2019 HL7 UK\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\r\n\r\nhttp://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\r\n\r\nHL7® FHIR® standard Copyright © 2011+ HL7\r\n\r\nThe HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at\r\n\r\nhttps://www.hl7.org/fhir/license.html",
  "fhirVersion": "3.0.2",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "ReferralRequest"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "The method used to communicate the referral such as fax, NHS e-Referral Service, secure email, etc...",
        "definition": "The method used to send or receive a Referral Request."
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ReferralRequestMethod-1"
      },
      {
        "id": "Extension.value[x]:valueCodeableConcept",
        "path": "Extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "The form in which a referral is sent and received",
          "valueSetUri": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-ReferralRequestMethod-1"
        }
      },
      {
        "id": "Extension.value[x]:valueCodeableConcept.coding",
        "path": "Extension.valueCodeableConcept.coding",
        "max": "1",
        "binding": {
          "strength": "required",
          "description": "The method used to send or receive a Referral Request",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-ReferralRequestMethod-1"
          }
        }
      },
      {
        "id": "Extension.value[x]:valueCodeableConcept.coding.system",
        "path": "Extension.valueCodeableConcept.coding.system",
        "fixedUri": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-ReferralRequestMethod-1"
      },
      {
        "id": "Extension.value[x]:valueCodeableConcept.coding.version",
        "path": "Extension.valueCodeableConcept.coding.version",
        "max": "0"
      },
      {
        "id": "Extension.value[x]:valueCodeableConcept.coding.userSelected",
        "path": "Extension.valueCodeableConcept.coding.userSelected",
        "max": "0"
      }
    ]
  }
}