@andes/fhir 1.12.1-beta.4 → 1.12.1-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,15 +49,25 @@ function buildGenderIdentityExtension(genero) {
49
49
  if (!genero) {
50
50
  return [];
51
51
  }
52
- return [{
53
- url: 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity',
54
- valueCode: genero
55
- }];
52
+ return [
53
+ {
54
+ "url": "https://andes.gob.ar/fhir/StructureDefinition/patient-genderIdentity",
55
+ "valueCodeableConcept": {
56
+ "coding": [
57
+ {
58
+ "system": "https://andes.gob.ar/fhir/CodeSystem/gender-identity",
59
+ "code": genero,
60
+ "display": genero
61
+ }
62
+ ]
63
+ }
64
+ }
65
+ ];
56
66
  }
57
67
  function buildStatusExtension(estado) {
58
68
  const value = estado ?? 'temporal';
59
69
  return [{
60
- url: 'andes.gob.ar/fhir/StructureDefinition/patient-status',
70
+ url: 'https://andes.gob.ar/fhir/StructureDefinition/patient-status',
61
71
  valueCode: value
62
72
  }];
63
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andes/fhir",
3
- "version": "1.12.1-beta.4",
3
+ "version": "1.12.1-beta.6",
4
4
  "engines": {
5
5
  "node": ">=18.0.0"
6
6
  },