{
  "resourceType": "StructureDefinition",
  "id": "shr-encounter-EncounterRequested",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR EncounterRequested Profile</b></p>\n  <p/>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.encounter.EncounterRequested maps to Basic:\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterRequested",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.encounter.EncounterRequested"
    }
  ],
  "version": "0.0.1",
  "name": "SHR EncounterRequested Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "purpose": "Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Basic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Basic:shr-encounter-EncounterRequested",
        "path": "Basic",
        "short": "SHR EncounterRequested Profile",
        "definition": "Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification."
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:relatedencounter",
        "path": "Basic.extension",
        "sliceName": "relatedencounter",
        "definition": "If content was generated during a patient encounter, related encounter is the encounter where the information was gained.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:author",
        "path": "Basic.extension",
        "sliceName": "author",
        "definition": "The person or organization who created the entry and is responsible for (and may certify) the content.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:informant",
        "path": "Basic.extension",
        "sliceName": "informant",
        "definition": "The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:type",
        "path": "Basic.extension",
        "sliceName": "type",
        "definition": "The most specific code (lowest level term) describing the kind or sort of thing being represented.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:category",
        "path": "Basic.extension",
        "sliceName": "category",
        "definition": "A class or division of people or things having particular shared characteristics",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:requestedcontext",
        "path": "Basic.extension",
        "sliceName": "requestedcontext",
        "definition": "An order for something to take place.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:subject",
        "path": "Basic.extension",
        "sliceName": "subject",
        "definition": "The person or thing that this entry relates to, usually the Person of Record. However, not all entries have health information specifically about the patient, but in different contexts, could refer to a fetus, family member (living or dead), device, location, organization, finding, condition, or intervention.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Subject-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:referraldate",
        "path": "Basic.extension",
        "sliceName": "referraldate",
        "definition": "The date when the provider received a referral for service. A referral includes an oral, written, faxed or electronic request for services made by the client or on the client's behalf.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:referralsourcetype",
        "path": "Basic.extension",
        "sliceName": "referralsourcetype",
        "definition": "The type of person or entity that instigated the encounter.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:typeasacoding",
        "path": "Basic.extension",
        "sliceName": "typeasacoding",
        "definition": "SHR TypeAsaCoding Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TypeAsaCoding-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:typeasacoding.valueCoding",
        "path": "Basic.extension.valueCoding",
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"
          }
        }
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:servicegiven",
        "path": "Basic.extension",
        "sliceName": "servicegiven",
        "definition": "Indicates a medical service provided.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ServiceGiven-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:serviceprovider",
        "path": "Basic.extension",
        "sliceName": "serviceprovider",
        "definition": "The organization that provided the services rendered during this encounter.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ServiceProvider-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:treatmentcooperation",
        "path": "Basic.extension",
        "sliceName": "treatmentcooperation",
        "definition": "Whether the patient is undergoing treatment voluntarily, or under a legal order.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.extension:paymentsource",
        "path": "Basic.extension",
        "sliceName": "paymentsource",
        "definition": "The source of payment for the current encounter.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-EncounterRequested.code",
        "path": "Basic.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://standardhealthrecord.org/fhir/basic-resource-type",
              "code": "shr-encounter-EncounterRequested"
            }
          ]
        }
      }
    ]
  }
}