-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Only data domains listed in the app.conf should be registered in with manual registration
When registering data_domains through /registration, the application doesn't look at what is allowed in the app.conf here. Instead it registers (almost) everything. I tried to register the following data_domains successfully without them begin in the app.conf.
- AllergyIntolerance
- BodyStructure
- ImagingStudy
- CarePlan
- CareTeam
- ClinicalImpression
- Encounter
- DetectedIssue
- DiagnosticReport
- FamilyMemberHistory
- MedicationStatement
- MedicationAdministration
- MedicationDispense
- MedicationRequest
- Immunization
- MeasureReport
- MolecularSequence
- NutritionOrder
- Observation
- Procedure
- RiskAssessment
- ImmunizationEvaluation
- ImmunizationRecommendation
To Reproduce
Steps to reproduce the behavior:
- Do a POST to /registration with the following body
{
"resourceType":"Bundle",
"type":"transaction",
"id":"bundle-example-015",
"entry":[
{
"fullUrl":"Patient/patient-016",
"resource":{
"resourceType":"Patient",
"id":"patient-016",
"identifier":[
{
"system":"http://fhir.nl/fhir/NamingSystem/bsn",
"value":"691008991"
}
],
"name":[
{
"family":"Snow",
"given":[
"John"
],
"prefix":[
"Mr."
]
}
],
"gender":"male",
"birthDate":"1981-04-01"
}
},
{
"resource":{
"resourceType":"AllergyIntolerance",
"id":"allergy1",
"clinicalStatus":{
"coding":[
{
"system":"http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code":"active"
}
]
},
"code":{
"text":"Peanut allergy"
},
"patient":{
"reference":"Patient/patient-016"
}
}
},
{
"resource":{
"resourceType":"BodyStructure",
"id":"body1",
"location":{
"text":"Left arm"
},
"description":"Birthmark on left arm",
"patient":{
"reference":"Patient/patient-016"
}
}
},
{
"resource":{
"resourceType":"ImagingStudy",
"id":"img1",
"status":"available",
"modality":[
{
"system":"http://dicom.nema.org/resources/ontology/DCM",
"code":"CT"
}
],
"subject":{
"reference":"Patient/patient-016"
}
}
},
{
"resource":{
"resourceType":"CarePlan",
"id":"careplan1",
"status":"active",
"intent":"plan",
"title":"Diabetes management plan",
"subject":{
"reference":"Patient/patient-016"
}
}
},
{
"resource":{
"resourceType":"CareTeam",
"id":"careteam1",
"status":"active",
"name":"Primary care team",
"subject":{
"reference":"Patient/patient-016"
}
}
},
{
"resource":{
"resourceType":"ClinicalImpression",
"id":"ci1",
"status":"draft",
"description":"Initial assessment for headaches",
"subject":{
"reference":"Patient/patient-016"
},
"effectiveDateTime":"2025-01-10"
}
},
{
"resource":{
"resourceType":"Encounter",
"id":"enc1",
"status":"finished",
"class":{
"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code":"AMB"
},
"subject":{
"reference":"Patient/patient-016"
},
"period":{
"start":"2025-01-05T10:00:00Z",
"end":"2025-01-05T11:00:00Z"
}
}
},
{
"resource":{
"resourceType":"DetectedIssue",
"id":"issue1",
"status":"final",
"severity":"high",
"code":{
"text":"Drug interaction risk"
},
"patient":{
"reference":"Patient/patient-016"
}
}
},
{
"resource":{
"resourceType":"DiagnosticReport",
"id":"dr1",
"status":"final",
"code":{
"text":"CBC Panel"
},
"subject":{
"reference":"Patient/patient-016"
},
"effectiveDateTime":"2025-01-10"
}
},
{
"resource":{
"resourceType":"FamilyMemberHistory",
"id":"famhx1",
"status":"completed",
"patient":{
"reference":"Patient/patient-016"
},
"relationship":{
"text":"Mother"
},
"condition":[
{
"code":{
"text":"Hypertension"
}
}
]
}
},
{
"resource":{
"resourceType":"MedicationStatement",
"id":"medstmt1",
"status":"active",
"medicationCodeableConcept":{
"text":"Metformin 500mg"
},
"subject":{
"reference":"Patient/patient-016"
},
"effectivePeriod":{
"start":"2024-10-01"
}
}
},
{
"resource":{
"resourceType":"MedicationAdministration",
"id":"medadmin1",
"status":"completed",
"medicationCodeableConcept":{
"text":"Ibuprofen 200mg"
},
"subject":{
"reference":"Patient/patient-016"
},
"effectiveDateTime":"2025-01-08T09:00:00Z"
}
},
{
"resource":{
"resourceType":"MedicationDispense",
"id":"meddisp1",
"status":"completed",
"medicationCodeableConcept":{
"text":"Lisinopril 10mg"
},
"subject":{
"reference":"Patient/patient-016"
},
"whenHandedOver":"2025-01-02"
}
},
{
"resource":{
"resourceType":"MedicationRequest",
"id":"medreq1",
"status":"active",
"intent":"order",
"medicationCodeableConcept":{
"text":"Atorvastatin 20mg"
},
"subject":{
"reference":"Patient/patient-016"
}
}
},
{
"resource":{
"resourceType":"Immunization",
"id":"imm1",
"status":"completed",
"vaccineCode":{
"text":"Influenza vaccine"
},
"patient":{
"reference":"Patient/patient-016"
},
"occurrenceDateTime":"2024-11-15"
}
},
{
"resource":{
"resourceType":"ImmunizationEvaluation",
"id":"immeval1",
"status":"completed",
"targetDisease":{
"text":"Influenza"
},
"patient":{
"reference":"Patient/patient-016"
},
"doseNumberPositiveInt":1,
"doseStatus":{
},
"immunizationEvent":{
"reference":"Immunization/imm1"
}
}
},
{
"resource":{
"resourceType":"ImmunizationRecommendation",
"id":"immrec1",
"patient":{
"reference":"Patient/patient-016"
},
"date":"2025-01-10",
"recommendation":[
]
}
},
{
"resource":{
"resourceType":"MeasureReport",
"id":"meas1",
"status":"complete",
"type":"individual",
"measure":"Measure/abc",
"subject":{
"reference":"Patient/patient-016"
},
"date":"2025-01-12",
"period":{
"start":"2025-01-12",
"end":"2025-06-12"
}
}
},
{
"resource":{
"resourceType":"MolecularSequence",
"id":"seq1",
"type":"dna",
"patient":{
"reference":"Patient/patient-016"
},
"coordinateSystem":1,
"referenceSeq":{
"referenceSeqId":{
"text":"Chromosome 1"
}
}
}
},
{
"resource":{
"resourceType":"NutritionOrder",
"id":"nutrition1",
"status":"active",
"intent":"order",
"patient":{
"reference":"Patient/patient-016"
},
"oralDiet":{
"type":[
{
"text":"Low sodium diet"
}
]
},
"dateTime":"2025-01-01"
}
},
{
"resource":{
"resourceType":"Observation",
"id":"obs1",
"status":"final",
"code":{
"text":"Blood pressure"
},
"subject":{
"reference":"Patient/patient-016"
},
"valueQuantity":{
"value":120,
"unit":"mmHg"
}
}
},
{
"resource":{
"resourceType":"Procedure",
"id":"proc1",
"status":"completed",
"code":{
"text":"Appendectomy"
},
"subject":{
"reference":"Patient/patient-016"
},
"performedDateTime":"2020-04-01"
}
},
{
"resource":{
"resourceType":"RiskAssessment",
"id":"risk1",
"status":"final",
"subject":{
"reference":"Patient/patient-016"
},
"prediction":[
{
"outcome":{
"text":"Risk of stroke"
},
"probabilityDecimal":0.12
}
]
}
}
]
}
- Look in nvi postgress database to see that everything is registered. (Although they are not in the app.conf)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels