{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-08-25T14:09:59.051+00:00"
  },
  "url": "StructureDefinition/MyModel",
  "name": "PatientLogicalModel",
  "status": "draft",
  "experimental": true,
  "date": "2017-08-22T14:13:17.6050429+00:00",
  "description": "Abstraction of CareConnect-Patient-1 profile.\r\n\r\n'Abstract' version of logical model - focused on data content, rather than technical/fhir implementation elements.",
  "fhirVersion": "3.0.1",
  "kind": "logical",
  "abstract": false,
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "PatientLogicalModel",
        "path": "PatientLogicalModel",
        "short": "A logical model of CareConnect-Patient-1",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers",
        "path": "PatientLogicalModel.patientIdentifiers",
        "short": "Identifiers for this patient",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.nhsNumber",
        "path": "PatientLogicalModel.patientIdentifiers.nhsNumber",
        "short": "The patient's NHS number",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.nhsNumber.nhsNumberVerificationStatus",
        "path": "PatientLogicalModel.patientIdentifiers.nhsNumber.nhsNumberVerificationStatus",
        "short": "NHS number verification status",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.nhsNumber.system",
        "path": "PatientLogicalModel.patientIdentifiers.nhsNumber.system",
        "short": "The namespace for the identifier",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.nhsNumber.value",
        "path": "PatientLogicalModel.patientIdentifiers.nhsNumber.value",
        "short": "Ten numeric digit NHS number",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.localIdentifier",
        "path": "PatientLogicalModel.patientIdentifiers.localIdentifier",
        "short": "The patient's other identifiers",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.localIdentifier.use",
        "path": "PatientLogicalModel.patientIdentifiers.localIdentifier.use",
        "short": "Identifies the purpose for this identifier, if known",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.localIdentifier.type",
        "path": "PatientLogicalModel.patientIdentifiers.localIdentifier.type",
        "short": "Description of identifier",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.localIdentifier.system",
        "path": "PatientLogicalModel.patientIdentifiers.localIdentifier.system",
        "short": "The namespace for the identifier",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.localIdentifier.value",
        "path": "PatientLogicalModel.patientIdentifiers.localIdentifier.value",
        "short": "The value that is unique",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.localIdentifier.period",
        "path": "PatientLogicalModel.patientIdentifiers.localIdentifier.period",
        "short": "Time period when id is/was valid for use",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientIdentifiers.localIdentifier.assigner",
        "path": "PatientLogicalModel.patientIdentifiers.localIdentifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.names",
        "path": "PatientLogicalModel.names",
        "short": "Names associated with the patient",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.names.usualName",
        "path": "PatientLogicalModel.names.usualName",
        "short": "The patient's current usual name",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "HumanName"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.names.otherName",
        "path": "PatientLogicalModel.names.otherName",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "HumanName"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails",
        "path": "PatientLogicalModel.patientDetails",
        "short": "Contact, and other, details for the patient",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.telecom",
        "path": "PatientLogicalModel.patientDetails.telecom",
        "short": "A contact detail for the individual",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "ContactPoint"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.gender",
        "path": "PatientLogicalModel.patientDetails.gender",
        "short": "The gender of a person used for administrative purposes.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.birthdate",
        "path": "PatientLogicalModel.patientDetails.birthdate",
        "short": "The date (and time) of birth for the patient",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.deceased",
        "path": "PatientLogicalModel.patientDetails.deceased",
        "short": "Indicates if the individual is deceased or not",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.address",
        "path": "PatientLogicalModel.patientDetails.address",
        "short": "Addresses for the individual",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Address"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.maritalStatus",
        "path": "PatientLogicalModel.patientDetails.maritalStatus",
        "short": "Marital (civil) status of a patient",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.multipleBirth",
        "path": "PatientLogicalModel.patientDetails.multipleBirth",
        "short": "Whether patient is part of a multiple birth",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.contact",
        "path": "PatientLogicalModel.patientDetails.contact",
        "short": "A contact party (e.g. guardian, partner, friend) for the patient",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.contact.relationship",
        "path": "PatientLogicalModel.patientDetails.contact.relationship",
        "short": "The kind of relationship",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.contact.name",
        "path": "PatientLogicalModel.patientDetails.contact.name",
        "short": "Name associated with the contact person",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "HumanName"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.contact.telecom",
        "path": "PatientLogicalModel.patientDetails.contact.telecom",
        "short": "A contact detail for the person",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "ContactPoint"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.contact.address",
        "path": "PatientLogicalModel.patientDetails.contact.address",
        "short": "Address for the contact person",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Address"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.contact.gender",
        "path": "PatientLogicalModel.patientDetails.contact.gender",
        "short": "The gender of the person",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientDetails.contact.organization",
        "path": "PatientLogicalModel.patientDetails.contact.organization",
        "short": "Organization that is associated with the contact",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes",
        "path": "PatientLogicalModel.patientCodes",
        "short": "Codes and flags about the patient",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.registrationDetails",
        "path": "PatientLogicalModel.patientCodes.registrationDetails",
        "short": "Additional registration information for the Patient resource",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.registrationDetails.registrationPeriod",
        "path": "PatientLogicalModel.patientCodes.registrationDetails.registrationPeriod",
        "short": "The period of time during which the Patient registration applies",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.registrationDetails.registrationType",
        "path": "PatientLogicalModel.patientCodes.registrationDetails.registrationType",
        "short": "The type of patient registration at the healthcare organisation",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.registrationDetails.registrationStatus",
        "path": "PatientLogicalModel.patientCodes.registrationDetails.registrationStatus",
        "short": "The registration status for this patient at the healthcare organisation",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.ethnicCategory",
        "path": "PatientLogicalModel.patientCodes.ethnicCategory",
        "short": "Ethnic category",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.religiousAffiliation",
        "path": "PatientLogicalModel.patientCodes.religiousAffiliation",
        "short": "Religious affiliation",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.cadavericDonor",
        "path": "PatientLogicalModel.patientCodes.cadavericDonor",
        "short": "Flag indicating whether the patient authorized the donation of body parts after death",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.residentialStatus",
        "path": "PatientLogicalModel.patientCodes.residentialStatus",
        "short": "The residential status of the patient",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.treatmentCategory",
        "path": "PatientLogicalModel.patientCodes.treatmentCategory",
        "short": "The treatment category for this patient",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.nhsCommunication",
        "path": "PatientLogicalModel.patientCodes.nhsCommunication",
        "short": "NHS communication preferences",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.nhsCommunication.language",
        "path": "PatientLogicalModel.patientCodes.nhsCommunication.language",
        "short": "Language which may be used for communication",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.nhsCommunication.preferred",
        "path": "PatientLogicalModel.patientCodes.nhsCommunication.preferred",
        "short": "Language preference indicator",
        "definition": "i.e. is this the preferred language",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.nhsCommunication.modeOfCommunication",
        "path": "PatientLogicalModel.patientCodes.nhsCommunication.modeOfCommunication",
        "short": "Mode of communication for the selected language",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.nhsCommunication.communicationProficiency",
        "path": "PatientLogicalModel.patientCodes.nhsCommunication.communicationProficiency",
        "short": "The level of proficiency in communicating a language",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.nhsCommunication.interpreterRequired",
        "path": "PatientLogicalModel.patientCodes.nhsCommunication.interpreterRequired",
        "short": "Interpreter preference indicator",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.patientCodes.active",
        "path": "PatientLogicalModel.patientCodes.active",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.careProvider",
        "path": "PatientLogicalModel.careProvider",
        "short": "Patient's nominated practitioner",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization",
            "aggregation": [
              "referenced"
            ]
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "PatientLogicalModel.managingOrganization",
        "path": "PatientLogicalModel.managingOrganization",
        "short": "Organization that is the custodian of the patient record",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.link",
        "path": "PatientLogicalModel.link",
        "short": "Link to another patient resource that concerns the same actual person",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.link.other",
        "path": "PatientLogicalModel.link.other",
        "short": "The other patient resource that the link refers to",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "PatientLogicalModel.link.type",
        "path": "PatientLogicalModel.link.type",
        "short": "The type of link between this patient resource and another patient resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      }
    ]
  }
}