{
  "resourceType": "StructureDefinition",
  "id": "Patient-adultcheck",
  "url": "https://tstifhir.azurehealthcareapis.com/StructureDefinition/Patient-adultcheck",
  "version": "0.1.0",
  "name": "PatientAdultCheck",
  "title": "Patient - AdultCheck",
  "status": "active",
  "date": "2023-07-21T14:42:36+00:00",
  "description": "此PatientAdultCheck Profile說明成人預防保健病患基本資料",
  "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": "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "min": 2
      },
      {
        "id": "Patient.identifier:idCardNumber",
        "path": "Patient.identifier",
        "sliceName": "idCardNumber",
        "min": 1
      },
      {
        "id": "Patient.identifier:medicalRecord",
        "path": "Patient.identifier",
        "sliceName": "medicalRecord",
        "min": 1
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.telecom:cellphone",
        "path": "Patient.telecom",
        "sliceName": "cellphone",
        "short": "(行動)電話",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Patient.telecom:cellphone.system",
        "path": "Patient.telecom.system",
        "patternCode": "phone"
      },
      {
        "id": "Patient.telecom:cellphone.use",
        "path": "Patient.telecom.use",
        "patternCode": "mobile"
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "short": "個案戶籍地\r\npat-cnt-2or3-char：如果有國家名，則必須（SHALL）從ISO Country Alpha-2（http://hl7.org/fhir/valueset/iso3166-1-2）找出相對代碼作呈現。 如果未在ISO Country Alpha-2 中找到此一國家的代碼，則可能可以（MAY）從ISO Country Alpha-3（http://hl7.org/fhir/valueset/iso3166-1-3）找出相對代碼作呈現。",
        "definition": "個案戶籍地"
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "MaritalStatus"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "description": "病人的婚姻狀態；應填入[Marital Status Codes](http://hl7.org/fhir/R4/valueset-marital-status.html)值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。",
          "valueSet": "http://hl7.org/fhir/ValueSet/marital-status"
        }
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "min": 1
      }
    ]
  }
}