{
  "resourceType": "StructureDefinition",
  "id": "9fab6b86-317f-49dc-8e0e-2438b519f971",
  "meta": {
    "lastUpdated": "2020-07-04T16:50:40.385+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/ICMRCOVID19Patient",
  "name": "ICMRCOVID19Patient",
  "status": "draft",
  "date": "2020-07-04T16:50:40.5568348+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "id"
            }
          ],
          "description": "An ICMR No will always present as an Patient Identifier.  In case of Foreign national, a passport no may be captured. Option to add other identifiers also available.",
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Patient.identifier:ICMRNo",
        "path": "Patient.identifier",
        "sliceName": "ICMRNo",
        "short": "ICMR No",
        "definition": "Local ICMR Patient Identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:ICMRNo.use",
        "path": "Patient.identifier.use",
        "min": 1,
        "fixedCode": "secondary"
      },
      {
        "id": "Patient.identifier:ICMRNo.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:PassportNo",
        "path": "Patient.identifier",
        "sliceName": "PassportNo",
        "short": "Patient Passport No",
        "definition": "Patient Passport No. (for Foreign national only)",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:PassportNo.use",
        "path": "Patient.identifier.use",
        "min": 1,
        "fixedCode": "official"
      },
      {
        "id": "Patient.identifier:PassportNo.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:Other",
        "path": "Patient.identifier",
        "sliceName": "Other",
        "short": "Other identifier for this patient",
        "definition": "Other identifier for this patient.",
        "max": "1"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "min": 1
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "id"
            }
          ],
          "description": "Mobile No and Email Address captured while screeing should be entered",
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.telecom:MobileNo",
        "path": "Patient.telecom",
        "sliceName": "MobileNo",
        "short": "Mobile Number of the individual",
        "definition": "Mobile Number by which the individual may be contacted.",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.telecom:MobileNo.system",
        "path": "Patient.telecom.system",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Patient.telecom:MobileNo.value",
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.telecom:MobileNo.use",
        "path": "Patient.telecom.use",
        "min": 1,
        "fixedCode": "mobile"
      },
      {
        "id": "Patient.telecom:EmailId",
        "path": "Patient.telecom",
        "sliceName": "EmailId",
        "short": "An email address for the individual",
        "definition": "An email address by which the individual may be contacted.",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.telecom:EmailId.system",
        "path": "Patient.telecom.system",
        "min": 1,
        "fixedCode": "email"
      },
      {
        "id": "Patient.telecom:EmailId.value",
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.telecom:Other",
        "path": "Patient.telecom",
        "sliceName": "Other",
        "short": "Other contact detail for the individual",
        "definition": "Other contact detail (e.g. a telephone number or an email address) by which the individual may be contacted."
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "description": "Option to enter Estimated Date of Birth in case actual Date Of Birth not present",
          "ordered": true,
          "rules": "open"
        }
      },
      {
        "id": "Patient.birthDate:estimated",
        "path": "Patient.birthDate",
        "sliceName": "estimated",
        "short": "The estimated date of birth for the individual",
        "definition": "The estimated date of birth for the individual calculated based on Years and Months of Age.",
        "min": 1,
        "orderMeaning": "2"
      },
      {
        "id": "Patient.birthDate:actual",
        "path": "Patient.birthDate",
        "sliceName": "actual",
        "short": "The actual date of birth for the individual",
        "definition": "The actual date of birth for the individual.",
        "orderMeaning": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "min": 1
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "mustSupport": true
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "min": 1
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "min": 1
      },
      {
        "id": "Patient.address.state",
        "path": "Patient.address.state",
        "min": 1
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "mustSupport": true
      },
      {
        "id": "Patient.address.country",
        "path": "Patient.address.country",
        "min": 1
      },
      {
        "id": "Patient.contact",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Contact"
          }
        ],
        "path": "Patient.contact",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "id"
            }
          ],
          "description": "Patient Relative Contact Information must be entered in case patient is minor or old aged or disabled etc.",
          "ordered": true,
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.contact:Family",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Contact"
          }
        ],
        "path": "Patient.contact",
        "sliceName": "Family",
        "short": "A Family member (e.g. guardian, partner) for the patient",
        "definition": "A Family member (e.g. guardian, partner) for the patient",
        "mustSupport": true
      },
      {
        "id": "Patient.contact:Family.telecom",
        "path": "Patient.contact.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "id"
            }
          ],
          "description": "Mobile Number of the Patient Family and Other",
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.contact:Family.telecom:MobileNo",
        "path": "Patient.contact.telecom",
        "sliceName": "MobileNo",
        "max": "1"
      },
      {
        "id": "Patient.contact:Family.telecom:MobileNo.system",
        "path": "Patient.contact.telecom.system",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Patient.contact:Family.telecom:MobileNo.value",
        "path": "Patient.contact.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.contact:Family.telecom:MobileNo.use",
        "path": "Patient.contact.telecom.use",
        "fixedCode": "mobile"
      },
      {
        "id": "Patient.contact:Family.telecom:Other",
        "path": "Patient.contact.telecom",
        "sliceName": "Other",
        "short": "Other contact detail for the person",
        "definition": "Other contact detail for the person, e.g. a telephone number or an email address."
      },
      {
        "id": "Patient.contact:Other",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Contact"
          }
        ],
        "path": "Patient.contact",
        "sliceName": "Other",
        "short": "Other (e.g.  friend) for the patient",
        "definition": "A contact party (e.g. friend) for the patient.",
        "orderMeaning": "2",
        "mustSupport": true
      },
      {
        "id": "Patient.contact:Other.telecom",
        "path": "Patient.contact.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "id"
            }
          ],
          "description": "Mobile Number of the person in case Patient and Family Mobile No not availbale",
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.contact:Other.telecom:MobileNo",
        "path": "Patient.contact.telecom",
        "sliceName": "MobileNo",
        "short": "Mobile No for the person",
        "max": "1"
      },
      {
        "id": "Patient.contact:Other.telecom:MobileNo.system",
        "path": "Patient.contact.telecom.system",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Patient.contact:Other.telecom:MobileNo.value",
        "path": "Patient.contact.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.contact:Other.telecom:MobileNo.use",
        "path": "Patient.contact.telecom.use",
        "min": 1,
        "fixedCode": "mobile"
      },
      {
        "id": "Patient.contact:Other.telecom:Other",
        "path": "Patient.contact.telecom",
        "sliceName": "Other",
        "short": "Other contact detail for the person"
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "mustSupport": true
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "mustSupport": true
      }
    ]
  }
}