{
  "resourceType": "StructureDefinition",
  "id": "shr-entity-ExternalHealthRecord-extension",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR ExternalHealthRecord Extension</b></p>\n  <p>A health record other than the current health record; may have been used to help populate the current record.</p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-ExternalHealthRecord-extension",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.entity.ExternalHealthRecord"
    }
  ],
  "version": "0.0.1",
  "name": "SHR ExternalHealthRecord Extension",
  "title": "SHR ExternalHealthRecord Extension",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "A health record other than the current health record; may have been used to help populate the current record.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "*"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension:externalhealthrecord",
        "path": "Extension",
        "short": "SHR ExternalHealthRecord Extension",
        "definition": "A health record other than the current health record; may have been used to help populate the current record.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Extension:externalhealthrecord.extension:relatedencounter",
        "path": "Extension.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": "Extension:externalhealthrecord.extension:author",
        "path": "Extension.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": "Extension:externalhealthrecord.extension:informant",
        "path": "Extension.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": "Extension:externalhealthrecord.extension:type",
        "path": "Extension.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": "Extension:externalhealthrecord.extension:identifier",
        "path": "Extension.extension",
        "sliceName": "identifier",
        "definition": "A unique string that identifies a specific person or thing.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier-extension"
          }
        ]
      },
      {
        "id": "Extension:externalhealthrecord.extension:accesstime",
        "path": "Extension.extension",
        "sliceName": "accesstime",
        "definition": "Point in time when data was accessed.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-AccessTime-extension"
          }
        ]
      },
      {
        "id": "Extension:externalhealthrecord.url",
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-ExternalHealthRecord-extension"
      },
      {
        "id": "Extension:externalhealthrecord.value[x]",
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0"
      }
    ]
  }
}