FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/test-logical-patient

Packagehl7.fhir.uv.howto
TypeStructureDefinition
Idtest-logical-patient
FHIR VersionR5
Sourcehttp://hl7.org/fhir/uv/howto/https://build.fhir.org/ig/FHIR/ig-guidance/StructureDefinition-test-logical-patient.html
URLhttp://hl7.org/fhir/uv/howto/StructureDefinition/test-logical-patient
Version0.1.0
Statusactive
Date2019-11-01T09:29:23+11:00
NameLogicalPatient
Realmuv
Authorityhl7
PurposeTesting Model to Model Mapping
Typehttp://hl7.org/fhir/uv/howto/StructureDefinition/Person
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition test-logical-patient

NameFlagsCard.TypeDescription & Constraintsdoco
.. Person 0..1BaseBase for all types and resources
... valid 1..1booleanWhether the record is valid
... name 1..1stringUsual Name
... dob 1..1dateStated Birth Date
... dod 0..1dateStated Death Date
... address 0..1AddressRegistered Address

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "test-logical-patient",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.org/fhir/uv/howto/StructureDefinition/test-logical-patient",
  "version": "0.1.0",
  "name": "LogicalPatient",
  "status": "active",
  "date": "2019-11-01T09:29:23+11:00",
  "publisher": "HL7 International - FHIR Management Group",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/Special/committees/fhirmg"
        }
      ]
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "purpose": "Testing Model to Model Mapping",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "pp",
      "uri": "http://hl7.org/fhir/uv/howto/StructureDefinition/test-patient-profile",
      "name": "Test Profile"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/fhir/uv/howto/StructureDefinition/Person",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "5.0.0"
      }
    ],
    "element": [
      {
        "id": "Person",
        "path": "Person",
        "short": "Base for all types and resources",
        "definition": "Base definition for all types defined in FHIR type system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient"
          },
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Person.valid",
        "path": "Person.valid",
        "short": "Whether the record is valid",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Person.valid",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.active"
          }
        ]
      },
      {
        "id": "Person.name",
        "path": "Person.name",
        "short": "Usual Name",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Person.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.name.where(use='official')"
          }
        ]
      },
      {
        "id": "Person.dob",
        "path": "Person.dob",
        "short": "Stated Birth Date",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Person.dob",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.birthDate"
          }
        ]
      },
      {
        "id": "Person.dod",
        "path": "Person.dod",
        "short": "Stated Death Date",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Person.dod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.deceasedDateTime"
          }
        ]
      },
      {
        "id": "Person.address",
        "path": "Person.address",
        "short": "Registered Address",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Person.address",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Address"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.address.where(use='usual')"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Person",
        "path": "Person",
        "min": 0,
        "max": "1",
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient"
          }
        ]
      },
      {
        "id": "Person.valid",
        "path": "Person.valid",
        "short": "Whether the record is valid",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.active"
          }
        ]
      },
      {
        "id": "Person.name",
        "path": "Person.name",
        "short": "Usual Name",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.name.where(use='official')"
          }
        ]
      },
      {
        "id": "Person.dob",
        "path": "Person.dob",
        "short": "Stated Birth Date",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.birthDate"
          }
        ]
      },
      {
        "id": "Person.dod",
        "path": "Person.dod",
        "short": "Stated Death Date",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.deceasedDateTime"
          }
        ]
      },
      {
        "id": "Person.address",
        "path": "Person.address",
        "short": "Registered Address",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Address"
          }
        ],
        "mapping": [
          {
            "identity": "pp",
            "map": "Patient.address.where(use='usual')"
          }
        ]
      }
    ]
  }
}