FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagepc.ig
Resource TypeStructureDefinition
IdStructureDefinition-pc-visit-lm.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/hl7-eu/protect-child/StructureDefinition-pc-visit-lm.html
URLhttps://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/pc-visit-lm
Version0.1.0-ci-build
Statusdraft
Date2026-02-09T17:40:58+00:00
NamePcVisit
TitleVisit logical model
DescriptionLogical model representing the PROTECT-CHILD data model entity `visit`.
Typehttps://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/pc-visit-lm
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 pc-visit-lm

NameFlagsCard.TypeDescription & Constraintsdoco
.. pc-visit-lm 0..*BaseVisit logical model
... visitId 1..1stringVisit id
... patientId 0..1stringPatient id
... transplantId 0..1stringTransplant id
... bioSampleId 0..1stringBio sample id
... preMedicationId 0..1stringPre medication id
... clinicalVariableId 0..1stringClinical variable id
... concomitantEpisodeId 0..1stringConcomitant episode id
... microbiologyId 0..1stringMicrobiology id
... patInstInvId 0..1stringPat inst inv id
... immIndPatId 0..1stringImm ind pat id
... immMainPatId 0..1stringImm main pat id
... labResultId 0..1stringLab result id
... postEventId 0..1stringPost event id
... outcomeId 0..1stringOutcome id
... date 0..1dateTimeDate
... visitType 0..1CodeableConceptVisit type

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "pc-visit-lm",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/pc-visit-lm",
  "version": "0.1.0-ci-build",
  "name": "PcVisit",
  "title": "Visit logical model",
  "status": "draft",
  "date": "2026-02-09T17:40:58+00:00",
  "publisher": "Protect Child",
  "contact": [
    {
      "name": "Protect Child",
      "telecom": [
        {
          "system": "url",
          "value": "https://protect-child.eu/"
        }
      ]
    }
  ],
  "description": "Logical model representing the PROTECT-CHILD data model entity `visit`.",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/pc-visit-lm",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "pc-visit-lm",
        "path": "pc-visit-lm",
        "short": "Visit logical model",
        "definition": "Logical model representing the PROTECT-CHILD data model entity `visit`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "pc-visit-lm.visitId",
        "path": "pc-visit-lm.visitId",
        "short": "Visit id",
        "definition": "Field `visit_id` from the PROTECT-CHILD data model.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.visitId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.patientId",
        "path": "pc-visit-lm.patientId",
        "short": "Patient id",
        "definition": "Field `patient_id` from the PROTECT-CHILD data model. Foreign key to `patient`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.patientId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.transplantId",
        "path": "pc-visit-lm.transplantId",
        "short": "Transplant id",
        "definition": "Field `transplant_id` from the PROTECT-CHILD data model. Foreign key to `transplant`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.transplantId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.bioSampleId",
        "path": "pc-visit-lm.bioSampleId",
        "short": "Bio sample id",
        "definition": "Field `bio_sample_id` from the PROTECT-CHILD data model. Foreign key to `bio_sample`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.bioSampleId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.preMedicationId",
        "path": "pc-visit-lm.preMedicationId",
        "short": "Pre medication id",
        "definition": "Field `pre_medication_id` from the PROTECT-CHILD data model. Foreign key to `pre_medication`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.preMedicationId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.clinicalVariableId",
        "path": "pc-visit-lm.clinicalVariableId",
        "short": "Clinical variable id",
        "definition": "Field `clinical_variable_id` from the PROTECT-CHILD data model. Foreign key to `clinical_variable`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.clinicalVariableId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.concomitantEpisodeId",
        "path": "pc-visit-lm.concomitantEpisodeId",
        "short": "Concomitant episode id",
        "definition": "Field `concomitant_episode_id` from the PROTECT-CHILD data model. Foreign key to `concomitant_episode`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.concomitantEpisodeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.microbiologyId",
        "path": "pc-visit-lm.microbiologyId",
        "short": "Microbiology id",
        "definition": "Field `microbiology_id` from the PROTECT-CHILD data model. Foreign key to `microbiology`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.microbiologyId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.patInstInvId",
        "path": "pc-visit-lm.patInstInvId",
        "short": "Pat inst inv id",
        "definition": "Field `pat_inst_inv_id` from the PROTECT-CHILD data model. Foreign key to `pat_inst_inv`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.patInstInvId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.immIndPatId",
        "path": "pc-visit-lm.immIndPatId",
        "short": "Imm ind pat id",
        "definition": "Field `imm_ind_pat_id` from the PROTECT-CHILD data model. Foreign key to `imm_ind_pat`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.immIndPatId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.immMainPatId",
        "path": "pc-visit-lm.immMainPatId",
        "short": "Imm main pat id",
        "definition": "Field `imm_main_pat_id` from the PROTECT-CHILD data model. Foreign key to `imm_main_pat`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.immMainPatId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.labResultId",
        "path": "pc-visit-lm.labResultId",
        "short": "Lab result id",
        "definition": "Field `lab_result_id` from the PROTECT-CHILD data model. Foreign key to `lab_result`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.labResultId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.postEventId",
        "path": "pc-visit-lm.postEventId",
        "short": "Post event id",
        "definition": "Field `post_event_id` from the PROTECT-CHILD data model. Foreign key to `post_event`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.postEventId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.outcomeId",
        "path": "pc-visit-lm.outcomeId",
        "short": "Outcome id",
        "definition": "Field `outcome_id` from the PROTECT-CHILD data model. Foreign key to `outcome`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.outcomeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.date",
        "path": "pc-visit-lm.date",
        "short": "Date",
        "definition": "Field `date` from the PROTECT-CHILD data model.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "pc-visit-lm.visitType",
        "path": "pc-visit-lm.visitType",
        "short": "Visit type",
        "definition": "Field `visit_type` from the PROTECT-CHILD data model.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pc-visit-lm.visitType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "pc-visit-lm",
        "path": "pc-visit-lm",
        "short": "Visit logical model",
        "definition": "Logical model representing the PROTECT-CHILD data model entity `visit`."
      },
      {
        "id": "pc-visit-lm.visitId",
        "path": "pc-visit-lm.visitId",
        "short": "Visit id",
        "definition": "Field `visit_id` from the PROTECT-CHILD data model.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.patientId",
        "path": "pc-visit-lm.patientId",
        "short": "Patient id",
        "definition": "Field `patient_id` from the PROTECT-CHILD data model. Foreign key to `patient`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.transplantId",
        "path": "pc-visit-lm.transplantId",
        "short": "Transplant id",
        "definition": "Field `transplant_id` from the PROTECT-CHILD data model. Foreign key to `transplant`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.bioSampleId",
        "path": "pc-visit-lm.bioSampleId",
        "short": "Bio sample id",
        "definition": "Field `bio_sample_id` from the PROTECT-CHILD data model. Foreign key to `bio_sample`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.preMedicationId",
        "path": "pc-visit-lm.preMedicationId",
        "short": "Pre medication id",
        "definition": "Field `pre_medication_id` from the PROTECT-CHILD data model. Foreign key to `pre_medication`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.clinicalVariableId",
        "path": "pc-visit-lm.clinicalVariableId",
        "short": "Clinical variable id",
        "definition": "Field `clinical_variable_id` from the PROTECT-CHILD data model. Foreign key to `clinical_variable`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.concomitantEpisodeId",
        "path": "pc-visit-lm.concomitantEpisodeId",
        "short": "Concomitant episode id",
        "definition": "Field `concomitant_episode_id` from the PROTECT-CHILD data model. Foreign key to `concomitant_episode`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.microbiologyId",
        "path": "pc-visit-lm.microbiologyId",
        "short": "Microbiology id",
        "definition": "Field `microbiology_id` from the PROTECT-CHILD data model. Foreign key to `microbiology`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.patInstInvId",
        "path": "pc-visit-lm.patInstInvId",
        "short": "Pat inst inv id",
        "definition": "Field `pat_inst_inv_id` from the PROTECT-CHILD data model. Foreign key to `pat_inst_inv`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.immIndPatId",
        "path": "pc-visit-lm.immIndPatId",
        "short": "Imm ind pat id",
        "definition": "Field `imm_ind_pat_id` from the PROTECT-CHILD data model. Foreign key to `imm_ind_pat`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.immMainPatId",
        "path": "pc-visit-lm.immMainPatId",
        "short": "Imm main pat id",
        "definition": "Field `imm_main_pat_id` from the PROTECT-CHILD data model. Foreign key to `imm_main_pat`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.labResultId",
        "path": "pc-visit-lm.labResultId",
        "short": "Lab result id",
        "definition": "Field `lab_result_id` from the PROTECT-CHILD data model. Foreign key to `lab_result`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.postEventId",
        "path": "pc-visit-lm.postEventId",
        "short": "Post event id",
        "definition": "Field `post_event_id` from the PROTECT-CHILD data model. Foreign key to `post_event`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.outcomeId",
        "path": "pc-visit-lm.outcomeId",
        "short": "Outcome id",
        "definition": "Field `outcome_id` from the PROTECT-CHILD data model. Foreign key to `outcome`.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pc-visit-lm.date",
        "path": "pc-visit-lm.date",
        "short": "Date",
        "definition": "Field `date` from the PROTECT-CHILD data model.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "pc-visit-lm.visitType",
        "path": "pc-visit-lm.visitType",
        "short": "Visit type",
        "definition": "Field `visit_type` from the PROTECT-CHILD data model.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      }
    ]
  }
}