Skip to content

Commit

Permalink
Features/Family planning Form
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurgat094 committed Jan 20, 2025
1 parent 967d30d commit 0d8e6ae
Show file tree
Hide file tree
Showing 45 changed files with 3,130 additions and 0 deletions.
206 changes: 206 additions & 0 deletions app/src/main/assets/diphtheria-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
{
"resourceType": "Questionnaire",
"title": "DIPHTHERIA/PERTUSSIS/TETANUS/HEPATITIS B/HAEMOPHILUS INFLUENZA Type b",
"status": "draft",
"item": [
{
"type": "choice",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "drop-down",
"display": "Drop down"
}
]
}
}
],
"linkId": "7245469372851",
"text": "Dose",
"required": true,
"answerOption": [
{
"valueCoding": {
"system": "http://example.org/fhir/dose",
"code": "dose1",
"display": "1st Dose at 6 weeks"
}
},
{
"valueCoding": {
"system": "http://example.org/fhir/dose",
"code": "dose2",
"display": "2nd Dose at 10 weeks"
}
},
{
"valueCoding": {
"system": "http://example.org/fhir/dose",
"code": "dose3",
"display": "3rd Dose at 14 weeks"
}
}
]
},
{
"type": "group",
"linkId": "943612448961",
"text": "1st Dose at 6 weeks",
"enableWhen": [
{
"question": "7245469372851",
"operator": "=",
"answerCoding": {
"system": "http://example.org/fhir/dose",
"code": "dose1"
}
}
],
"enableBehavior": "any",
"item": [
{
"type": "date",
"linkId": "1706243778715",
"text": "Date given",
"required": true
},
{
"type": "date",
"linkId": "837211414406",
"text": "Date of next visit",
"required": true
},
{
"type": "string",
"linkId": "623710444302",
"text": "Batch number",
"required": true
},
{
"type": "string",
"linkId": "5130109776129",
"text": "Lot number",
"required": true
},
{
"type": "string",
"linkId": "5096787115259",
"text": "Manufacturer",
"required": true
},
{
"type": "date",
"linkId": "130764843510",
"text": "Date of expiry",
"required": true
}
]
},
{
"type": "group",
"linkId": "162208982104",
"text": "2nd Dose at 10 weeks",
"enableWhen": [
{
"question": "7245469372851",
"operator": "=",
"answerCoding": {
"system": "http://example.org/fhir/dose",
"code": "dose2"
}
}
],
"enableBehavior": "any",
"item": [
{
"type": "date",
"linkId": "326494514561",
"text": "Date given",
"required": true
},
{
"type": "date",
"linkId": "217550121148",
"text": "Date of next visit",
"required": true
},
{
"type": "string",
"linkId": "670034935729",
"text": "Batch number",
"required": true
},
{
"type": "string",
"linkId": "149322105195",
"text": "Lot number",
"required": true
},
{
"type": "string",
"linkId": "427047554544",
"text": "Manufacturer",
"required": true
},
{
"type": "date",
"linkId": "989835392078",
"text": "Date of expiry",
"required": true
}
]
},
{
"type": "group",
"linkId": "927694432011",
"text": "3rd Dose at 14 weeks",
"enableWhen": [
{
"question": "7245469372851",
"operator": "=",
"answerCoding": {
"system": "http://example.org/fhir/dose",
"code": "dose3"
}
}
],
"enableBehavior": "any",
"item": [
{
"type": "date",
"linkId": "964674084101",
"text": "Date given",
"required": true
},
{
"type": "string",
"linkId": "988275944803",
"text": "Batch number",
"required": true
},
{
"type": "string",
"linkId": "766906389085",
"text": "Lot number",
"required": true
},
{
"type": "string",
"linkId": "561522366666",
"text": "Manufacturer",
"required": true
},
{
"type": "date",
"linkId": "939052861601",
"text": "Date of expiry",
"required": true
}
]
}
]
}
Empty file.
128 changes: 128 additions & 0 deletions app/src/main/assets/family-planning-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"resourceType": "Questionnaire",
"language": "nb-NO",
"status": "draft",
"publisher": "NHN",
"meta": {
"profile": [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"tag": [
{
"system": "urn:ietf:bcp:47",
"code": "nb-NO",
"display": "Bokmål"
}
],
"security": [
{
"code": "3",
"display": "Helsehjelp (Full)",
"system": "urn:oid:2.16.578.1.12.4.1.1.7618"
}
]
},
"contact": [
{
"name": "http://www.nhn.no"
}
],
"subjectType": [
"Observation"
],
"extension": [
{
"url": "http://helsenorge.no/fhir/StructureDefinition/sdf-sidebar",
"valueCoding": {
"system": "http://helsenorge.no/fhir/ValueSet/sdf-sidebar",
"code": "1"
}
},
{
"url": "http://helsenorge.no/fhir/StructureDefinition/sdf-information-message",
"valueCoding": {
"system": "http://helsenorge.no/fhir/ValueSet/sdf-information-message",
"code": "1"
}
},
{
"url": "http://helsenorge.no/fhir/StructureDefintion/sdf-itemControl-visibility",
"valueCodeableConcept": {
"coding": [
{
"system": "http://helsenorge.no/fhir/CodeSystem/AttachmentRenderOptions",
"code": "hide-help",
"display": "Hide help texts"
},
{
"system": "http://helsenorge.no/fhir/CodeSystem/AttachmentRenderOptions",
"code": "hide-sublabel",
"display": "Hide sublabel texts"
}
]
}
}
],
"id": "6678cc8b-cbf6-4588-8133-6b88b22fa332",
"item": [
{
"linkId": "1f49fd5b-3957-401b-92e1-721ca1893de9",
"type": "group",
"text": "Family Planning\n",
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemExtractionContext",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Observation",
"name": "family-planning"
}
}
],
"item": [
{
"linkId": "33701d8e-d1af-42c1-d48b-542048c79933",
"type": "date",
"text": "Date",

"required": true
},
{
"linkId": "43bb2c66-a1bb-43d0-8e3b-51c7c3ba8fcf",
"type": "string",
"text": "Family Planning Method",
"required": true
},
{
"linkId": "479197ea-d3f3-4411-9810-0b0c64a85a8e",
"type": "quantity",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
"valueCoding": {
"code": "kg",
"display": "kilo",
"system": "http://unitsofmeasure.org"
}
}
],
"required": true,
"text": "Weight"
},
{
"linkId": "a9ec0bc3-bb22-4c21-865b-c716b05263b1",
"type": "string",
"text": "Blood Pressure",
"required": true
},
{
"linkId": "71ff27f2-a22d-4765-8079-e2e6f46490bf",
"type": "string",
"text": "Remarks",
"required": true
}
],
"required": false
}
]
}
Loading

0 comments on commit 0d8e6ae

Please sign in to comment.