From f762575d8e393ea207ef4147bb55ec6579d631c3 Mon Sep 17 00:00:00 2001 From: Omar Khan Date: Thu, 19 Sep 2024 13:35:57 +0100 Subject: [PATCH 1/2] Addition of RelatedPerson.patient reference Also includes examples of PDS patients with demographics stripped --- ...GSTestOrderForm-FetalScenario-Example.json | 2 + ...atient-LindsaySorrellStripped-Example.json | 69 ++++++++++++++++++ ...Patient-MeirLiebermanStripped-Example.json | 73 +++++++++++++++++++ ...son-AliceSmithamProbandMother-Example.json | 1 + ...-AnitaLambertsDeceasedPatient-Example.json | 1 + ...on-JamesLawrenceProbandFather-Example.json | 1 + .../RelatedPerson-RyanneBoulder-Example.json | 1 + ...edPerson-RyanneBoulderPartner-Example.json | 1 + ...e-RelatedPerson-MichaelaJones-Example.json | 1 + 9 files changed, 150 insertions(+) create mode 100644 Patient/Patient-LindsaySorrellStripped-Example.json create mode 100644 Patient/Patient-MeirLiebermanStripped-Example.json diff --git a/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json b/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json index 7fe2250..4b379e5 100644 --- a/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json +++ b/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json @@ -811,6 +811,7 @@ } ], "patient": { + "reference": "Patient/Patient-FoetusOfRyanneBoulder-Example", "identifier": { "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", "value": "FT-RWT13521", @@ -857,6 +858,7 @@ } ], "patient": { + "reference": "Patient/Patient-FoetusOfRyanneBoulder-Example", "identifier": { "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", "value": "FT-RWT13521", diff --git a/Patient/Patient-LindsaySorrellStripped-Example.json b/Patient/Patient-LindsaySorrellStripped-Example.json new file mode 100644 index 0000000..051f3f1 --- /dev/null +++ b/Patient/Patient-LindsaySorrellStripped-Example.json @@ -0,0 +1,69 @@ +{ + "resourceType": "Patient", + "id": "Patient-LindsaySorrellStripped-Example", + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", + "code": "M", + "display": "Male" + } + ] + } + }, + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland", + "code": "A", + "display": "White - British" + } + ] + } + } + ], + "identifier": [ + { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307946", + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland", + "version": "2.2.0", + "code": "01", + "display": "Number present and verified" + } + ] + } + } + ] + }, + { + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", + "value": "RWT14789", + "assigner": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RAX01" + } + } + } + ], + "link": [ + { + "other": { + "reference": "https://api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9449307946" + }, + "type": "seealso" + } + ] +} \ No newline at end of file diff --git a/Patient/Patient-MeirLiebermanStripped-Example.json b/Patient/Patient-MeirLiebermanStripped-Example.json new file mode 100644 index 0000000..31d3a91 --- /dev/null +++ b/Patient/Patient-MeirLiebermanStripped-Example.json @@ -0,0 +1,73 @@ +{ + "resourceType": "Patient", + "id": "Patient-MeirLiebermanStripped-Example", + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", + "code": "M", + "display": "Male" + } + ] + } + }, + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland", + "code": "A", + "display": "White - British" + } + ] + } + } + ], + "identifier": [ + { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873", + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland", + "version": "2.2.0", + "code": "01", + "display": "Number present and verified" + } + ] + } + } + ] + }, + { + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", + "value": "RGT012423", + "assigner": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RGT01" + } + } + }, + { + "system": "https://fhir.nhs.uk/Id/genomics-pedigree-number", + "value": "P12345" + } + ], + "link": [ + { + "other": { + "reference": "https://api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9449307873" + }, + "type": "seealso" + } + ] +} \ No newline at end of file diff --git a/RelatedPerson/RelatedPerson-AliceSmithamProbandMother-Example.json b/RelatedPerson/RelatedPerson-AliceSmithamProbandMother-Example.json index 0720726..f7a4a46 100644 --- a/RelatedPerson/RelatedPerson-AliceSmithamProbandMother-Example.json +++ b/RelatedPerson/RelatedPerson-AliceSmithamProbandMother-Example.json @@ -8,6 +8,7 @@ } ], "patient": { + "reference": "Patient/Patient-PheobeSmitham-Example", "identifier": { "system": "https://fhir.nhs.uk/Id/nhs-number", "value": "9449307539" diff --git a/RelatedPerson/RelatedPerson-AnitaLambertsDeceasedPatient-Example.json b/RelatedPerson/RelatedPerson-AnitaLambertsDeceasedPatient-Example.json index be596ed..a77fe05 100644 --- a/RelatedPerson/RelatedPerson-AnitaLambertsDeceasedPatient-Example.json +++ b/RelatedPerson/RelatedPerson-AnitaLambertsDeceasedPatient-Example.json @@ -8,6 +8,7 @@ } ], "patient": { + "reference": "Patient/Patient-AnitaLambertsDeceasedPatient-Example", "identifier": { "system": "https://fhir.nhs.uk/Id/nhs-number", "value": "8449303649" diff --git a/RelatedPerson/RelatedPerson-JamesLawrenceProbandFather-Example.json b/RelatedPerson/RelatedPerson-JamesLawrenceProbandFather-Example.json index 56965ff..1b272f5 100644 --- a/RelatedPerson/RelatedPerson-JamesLawrenceProbandFather-Example.json +++ b/RelatedPerson/RelatedPerson-JamesLawrenceProbandFather-Example.json @@ -8,6 +8,7 @@ } ], "patient": { + "reference": "Patient/Patient-PheobeSmitham-Example", "identifier": { "system": "https://fhir.nhs.uk/Id/nhs-number", "value": "9449307539" diff --git a/RelatedPerson/RelatedPerson-RyanneBoulder-Example.json b/RelatedPerson/RelatedPerson-RyanneBoulder-Example.json index 83eb2c7..3228ffd 100644 --- a/RelatedPerson/RelatedPerson-RyanneBoulder-Example.json +++ b/RelatedPerson/RelatedPerson-RyanneBoulder-Example.json @@ -8,6 +8,7 @@ } ], "patient": { + "reference": "Patient/Patient-FoetusOfRyanneBoulder-Example", "identifier": { "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", "value": "FT-RWT13521", diff --git a/RelatedPerson/RelatedPerson-RyanneBoulderPartner-Example.json b/RelatedPerson/RelatedPerson-RyanneBoulderPartner-Example.json index 7621a90..3248910 100644 --- a/RelatedPerson/RelatedPerson-RyanneBoulderPartner-Example.json +++ b/RelatedPerson/RelatedPerson-RyanneBoulderPartner-Example.json @@ -14,6 +14,7 @@ } ], "patient": { + "reference": "Patient/Patient-FoetusOfRyanneBoulder-Example", "identifier": { "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", "value": "FT-RWT13521", diff --git a/RelatedPerson/UKCore-RelatedPerson-MichaelaJones-Example.json b/RelatedPerson/UKCore-RelatedPerson-MichaelaJones-Example.json index 0fe8a33..0dcfe40 100644 --- a/RelatedPerson/UKCore-RelatedPerson-MichaelaJones-Example.json +++ b/RelatedPerson/UKCore-RelatedPerson-MichaelaJones-Example.json @@ -7,6 +7,7 @@ } ], "patient": { + "reference": "Patient/UKCore-Patient-MichaelJones-Example", "identifier": { "system": "https://fhir.nhs.uk/Id/nhs-number", "value": "9999999999" From b12de5ed387b6938f4a8fa3d291dc7d05b425a58 Mon Sep 17 00:00:00 2001 From: Omar Khan Date: Thu, 19 Sep 2024 13:40:07 +0100 Subject: [PATCH 2/2] Whitespace changes --- ...atient-LindsaySorrellStripped-Example.json | 118 ++++++++-------- ...Patient-MeirLiebermanStripped-Example.json | 126 +++++++++--------- 2 files changed, 122 insertions(+), 122 deletions(-) diff --git a/Patient/Patient-LindsaySorrellStripped-Example.json b/Patient/Patient-LindsaySorrellStripped-Example.json index 051f3f1..bff4557 100644 --- a/Patient/Patient-LindsaySorrellStripped-Example.json +++ b/Patient/Patient-LindsaySorrellStripped-Example.json @@ -1,10 +1,10 @@ { - "resourceType": "Patient", - "id": "Patient-LindsaySorrellStripped-Example", - "extension": [ - { - "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex", - "valueCodeableConcept": { + "resourceType": "Patient", + "id": "Patient-LindsaySorrellStripped-Example", + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex", + "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", @@ -13,57 +13,57 @@ } ] } - }, - { - "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory", - "valueCodeableConcept": { - "coding": [ - { - "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland", - "code": "A", - "display": "White - British" - } - ] - } - } - ], - "identifier": [ - { - "system": "https://fhir.nhs.uk/Id/nhs-number", - "value": "9449307946", - "extension": [ - { - "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus", - "valueCodeableConcept": { - "coding": [ - { - "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland", - "version": "2.2.0", - "code": "01", - "display": "Number present and verified" - } - ] - } - } - ] - }, - { - "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", - "value": "RWT14789", - "assigner": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "RAX01" - } - } - } - ], - "link": [ - { - "other": { - "reference": "https://api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9449307946" - }, - "type": "seealso" - } - ] + }, + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland", + "code": "A", + "display": "White - British" + } + ] + } + } + ], + "identifier": [ + { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307946", + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland", + "version": "2.2.0", + "code": "01", + "display": "Number present and verified" + } + ] + } + } + ] + }, + { + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", + "value": "RWT14789", + "assigner": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RAX01" + } + } + } + ], + "link": [ + { + "other": { + "reference": "https://api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9449307946" + }, + "type": "seealso" + } + ] } \ No newline at end of file diff --git a/Patient/Patient-MeirLiebermanStripped-Example.json b/Patient/Patient-MeirLiebermanStripped-Example.json index 31d3a91..9da04da 100644 --- a/Patient/Patient-MeirLiebermanStripped-Example.json +++ b/Patient/Patient-MeirLiebermanStripped-Example.json @@ -1,10 +1,10 @@ { - "resourceType": "Patient", - "id": "Patient-MeirLiebermanStripped-Example", - "extension": [ - { - "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex", - "valueCodeableConcept": { + "resourceType": "Patient", + "id": "Patient-MeirLiebermanStripped-Example", + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex", + "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", @@ -13,61 +13,61 @@ } ] } - }, - { - "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory", - "valueCodeableConcept": { - "coding": [ - { - "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland", - "code": "A", - "display": "White - British" - } - ] - } - } - ], - "identifier": [ - { - "system": "https://fhir.nhs.uk/Id/nhs-number", - "value": "9449307873", - "extension": [ - { - "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus", - "valueCodeableConcept": { - "coding": [ - { - "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland", - "version": "2.2.0", - "code": "01", - "display": "Number present and verified" - } - ] - } - } - ] - }, - { - "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", - "value": "RGT012423", - "assigner": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "RGT01" - } - } - }, - { - "system": "https://fhir.nhs.uk/Id/genomics-pedigree-number", - "value": "P12345" - } - ], - "link": [ - { - "other": { - "reference": "https://api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9449307873" - }, - "type": "seealso" - } - ] + }, + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland", + "code": "A", + "display": "White - British" + } + ] + } + } + ], + "identifier": [ + { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873", + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland", + "version": "2.2.0", + "code": "01", + "display": "Number present and verified" + } + ] + } + } + ] + }, + { + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", + "value": "RGT012423", + "assigner": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RGT01" + } + } + }, + { + "system": "https://fhir.nhs.uk/Id/genomics-pedigree-number", + "value": "P12345" + } + ], + "link": [ + { + "other": { + "reference": "https://api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9449307873" + }, + "type": "seealso" + } + ] } \ No newline at end of file