{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-08-08T21:26:53.299+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>\nThese are the requirements for the Patient resource as they are appeared in the BMOHORB (Berzerkistan Ministry of Health Official Requirement Bulletin), April 25, 2016 – Edition #150\n</p></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/BMOPatient",
  "version": "1",
  "name": "MyPatient",
  "title": "BMOHORB150-Patient",
  "status": "draft",
  "date": "2017-07-16T12:37:27.389+00:00",
  "description": "These are the requirements for the Patient resource as they are appeared in the BMOHORB (Berzerkistan Ministry of Health Official Requirement Bulletin), April 25, 2016 – Edition #150",
  "purpose": "Patient Information",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:PPHTaxSituation",
        "path": "Patient.extension",
        "sliceName": "PPHTaxSituation",
        "definition": "Req # BMHO.121.5: PPH Tax: The resource shall include the PPH TaxSituation extension which is mandatory and shall be coded using the PPH Tax Value Set",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "PPHTaxSituation"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetUri": "https://stu3.simplifier.net/open/ValueSet/48d0d643-8223-4a53-81a7-af8856e8e1f4"
        }
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:BNI",
        "path": "Patient.identifier",
        "sliceName": "BNI",
        "short": "BNI Identifier for the patient",
        "definition": "Req # BMHO.121.4.a: BNI : The first one shall be the BNI identifier (system: www.berzerkistan.gov/bni, value equal to the BNI identifier for the patient)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:BNI.system:BNI",
        "path": "Patient.identifier.system",
        "sliceName": "BNI",
        "short": "BNI Identifier",
        "definition": "Req # BMHO.121.4.a: BNI : The first one shall be the BNI identifier (system: www.berzerkistan.gov/bni, value equal to the BNI identifier for the patient)",
        "min": 1,
        "fixedUri": "www.berzerkistan.gov/bni"
      },
      {
        "id": "Patient.identifier:BNI.value:BNI",
        "path": "Patient.identifier.value",
        "sliceName": "BNI",
        "short": "BNI Identifier for the patient",
        "min": 1
      },
      {
        "id": "Patient.identifier:NHIB",
        "path": "Patient.identifier",
        "sliceName": "NHIB",
        "short": "NHIB Identifier for the patient",
        "definition": "Req # BMHO.121.4.b: NHIB: The second one shall be the NHIB identifier (system: www.berzerkistan.gov/nhib, value equal to the NHIB identifier for the patient)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:NHIB.system:NHIB",
        "path": "Patient.identifier.system",
        "sliceName": "NHIB",
        "short": "NHIB identifier",
        "min": 1,
        "fixedUri": "http://www.berzerkistan.gov/nhib"
      },
      {
        "id": "Patient.identifier:NHIB.value",
        "path": "Patient.identifier.value",
        "short": "NHIB Identifier for the patient",
        "min": 1
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "requirements": "Req # BMHO.121.3: Name - Element name is mandatory and shall contain family and given names",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": 1
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "definition": "Req # BMHO.121.1: Gender - Element gender is mandatory, and should be extracted from the FHIR vocabulary for gender: Options for value are ‘male’ and ‘female’, 'other' and 'unknown'",
        "min": 1
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "definition": "Req # BMHO.121.2: BirthDate - Element birthdate is mandatory, birthdate, shall be populated with the patient birthdate in the format ‘yyyy-mm-dd’.",
        "min": 1
      }
    ]
  }
}