{
  "resourceType": "StructureDefinition",
  "id": "shr-encounter-Encounter",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR Encounter Profile</b></p>\n  <p>A description of an interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient, independent of the context of requested, planned, performed, etc.</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.encounter.Encounter maps to Basic:\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.encounter.Encounter"
    }
  ],
  "version": "0.0.1",
  "name": "SHR Encounter Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "A description of an interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient, independent of the context of requested, planned, performed, etc.",
  "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-Encounter",
        "path": "Basic",
        "short": "SHR Encounter Profile",
        "definition": "A description of an interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient, independent of the context of requested, planned, performed, etc."
      },
      {
        "id": "Basic:shr-encounter-Encounter.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-Encounter.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-Encounter.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-Encounter.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-Encounter.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-Encounter.extension:actioncontext",
        "path": "Basic.extension",
        "sliceName": "actioncontext",
        "definition": "The ontological status of the intervention, e.g., performed/not performed, requested/not requested.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ActionContext-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-encounter-Encounter.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-Encounter.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-Encounter.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-Encounter.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-Encounter.extension:typeasacoding.valueCoding",
        "path": "Basic.extension.valueCoding",
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"
          }
        }
      },
      {
        "id": "Basic:shr-encounter-Encounter.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-Encounter.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-Encounter.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-Encounter.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-Encounter.code",
        "path": "Basic.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://standardhealthrecord.org/fhir/basic-resource-type",
              "code": "shr-encounter-Encounter"
            }
          ]
        }
      }
    ]
  }
}